Home LESS CSS Has More with 1.2.0

LESS CSS Has More with 1.2.0

The LESS dynamic stylesheet language was one of ReadWriteWeb’s [top Web developer tools for 2011], and it’s starting off 2012 strong as well. LESS maintainer Alexis Sellier has released LESS 1.2.0 with a few interesting new features and fixes for WebKit and Internet Explorer.

LESS adds functionality that should be in CSS in the first place. For example, LESS gives Web developers variables, functions, operators and other features that CSS doesn’t have.

LESS supports mixins, which are properties that can be copied from one ruleset to another. With 1.2.0, Sellier has added conditional execution with its mixins, so that developers can change behavior of the mixin based on the value of parameters passed to it. For instance, developers might change values depending on screen size.

You might be familiar with, Sass, the extension of CSS3. In 1.2.0, Sellier borrows some of the type-checking functions and the mix function from Sass.

The 1.2.0 release also adds support for !important after mixin calls, a percentage function and a color function for parsing JavaScript strings as a hex color.

LESS is available under the Apache 2.0 license and code is available on GitHub.

About ReadWrite’s Editorial Process

The ReadWrite Editorial policy involves closely monitoring the gambling and blockchain industries for major developments, new product and brand launches, game releases and other newsworthy events. Editors assign relevant stories to in-house staff writers with expertise in each particular topic area. Before publication, articles go through a rigorous round of editing for accuracy, clarity, and to ensure adherence to ReadWrite's style guidelines.

Get the biggest iGaming headlines of the day delivered to your inbox

    By signing up, you agree to our Terms and Privacy Policy. Unsubscribe anytime.

    Gambling News

    Explore the latest in online gambling with our curated updates. We cut through the noise to deliver concise, relevant insights, keeping you informed about the ever-changing world of iGaming and its most important trends.

    In-Depth Strategy Guides

    Elevate your game with tailored strategies for sports betting, table games, slots, and poker. Learn how to maximize bonuses, refine your tactics, and boost your chances to beat the house.

    Unbiased Expert Reviews

    Honest and transparent reviews of sportsbooks, casinos and poker rooms crafted through industry expertise and in-depth analysis. Delve into intricacies, get the best bonus deals, and stay ahead with our trustworthy guides.