Web Designer - - Power Up Your Css -

Less uses the ‘@’ sym­bol to de­clare vari­ables. How­ever ‘@’ al­ready has mean­ing in CSS, as it is used to de­clare @me­dia queries and @keyframes. This can re­sult in some con­fu­sion when read­ing the code. De­spite be­ing sim­i­lar to ap­proaches like SASS, it’s adop­tion is far less uni­ver­sal, and there­fore get­ting used to its in­tri­ca­cies may not be the best time spent if you’re not go­ing to find it used in projects. Makes you rely en­tirely on mix­ins rather than al­low­ing you to use func­tions that can re­turn a value. Can re­sult in slightly re­stricted use cases.

Newspapers in English

Newspapers from UK

© PressReader. All rights reserved.