O'Reilly logo

Mastering Laravel by Christopher John Pecoraro

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Compiling with Laravel Elixir

Laravel Elixir is great at performing routine tasks that would otherwise require learning scripting languages. The following sections will demonstrate each of the various types of compiling that Elixir can perform.

Compiling Sass and Less

Cascading style sheet preprocessors Less and Sass emerged from the need to enhance the capabilities of CSS. It does not contain any variables for example. Less and Sass allow frontend developers take advantage of variables and other features that are syntactically familiar. The following code is an example of standard CSS. The DOM elements p and li (paragraph and list item respectively), and any element with a post class will have a font-family Arial, with sans-serif as a fallback ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required