
Explore how LESS, a CSS preprocessor, uses variables, functions, operations, and nesting to simplify building and updating large stylesheets and converting between CSS and LESS.
Learn to access and organize your course working files by locating, copying to desktop, and saving changes, using the player's open working files button or direct DVD folder navigation.
Download the reference less file from the official site, save it locally as less.js, and note version compatibility; we will cover the server-side less site in a future session.
Enable client-side less by referencing a less file and a less.js script that compiles to css. Learn linking, extensions, and the order of less files relative to less.js.
Master how to comment in less to balance maintainability and performance, using multi-line and single-line comments to keep the final CSS lean and fast for end users.
Define variables with the @ symbol at the top of a less file to reuse values like font size and base color, enabling instant updates that propagate across the stylesheet.
Identify syntax errors in less and distinguish them from logical errors. Learn common mistakes like missing the symbol before variables and using an equal sign instead of a colon.
Reuse styles with less mixins to embed one class inside another, simplifying css and reducing duplicates, while using a border radius mixin for consistent radii.
Discover how to write parametric mixins in less with multiple parameters and default values, using semicolon separation. Apply min and max width constraints to keep elements within a set range.
Split a less file into multiple files and import them into one, while sharing variables across documents for consistent styles in responsive layouts.
Explore nesting with pseudo-classes in LESS by attaching hover rules directly to anchors using the ampersand, and apply first-class selectors to nested navigation elements.
Learn how to modify less variables with math, use rem/rim-based sizing, and provide pixel fallbacks for older browsers, improving accessibility and consistency.
Explore how to use Less color functions to automate color changes, including lighten, darken, desaturate, saturate, and fade, enabling quick base color swaps and consistent hover effects.
Learn how to use built-in math functions in less, including ceil (ceiling), floor, and round, to compute font sizes and other values, avoid fractional pixels, and simplify CSS.
Discover how to compile less into css using server-side npm tools or local command line and GUI utilities, across Windows, Mac OS, and Linux.
Learn less to design consistent websites using variables, importing external files, and mixins; nest selectors and use color functions, then compile to CSS for scalable, maintainable sites.
This Writing CSS with {LESS} training course from Infinite Skills teaches you everything you need to know about this dynamic stylesheet language. This course is designed for users that already have a working knowledge of CSS.
You will start out by learning how to build {LESS} files, on the client-side and server-side. Walter will teach you how to build consistent values, including how to modify the value and scope of a variable, use Mixins, and identify Syntax errors. From there, you will learn about Nesting, and how to use Nesting with multiple selectors and pseudo-classes. This video training will also teach you about the functions and operations in {LESS}, including defined {LESS} functions in colour and math. Finally, Walter will show you how to compile {LESS} to CSS.
By the completion of this video based training course, you will have an in-depth understanding of how to write CSS with {LESS}. Working files are included, allowing you to follow along with the author throughout the lessons.