Answer the question
In order to leave comments, you need to log in
Problems with LESS?
Good afternoon!
First time working with LESS. The problem is that FireFox does not display the font color I set. here is the code:
@whiteColor: #fff;
@siteColor: #39c9da;
footer {
height: 48px;
line-height: 48px;
font-size: @mainFont;
color: @whiteColor;
background-color: @siteColor;
}
Answer the question
In order to leave comments, you need to log in
In its purest form, browsers do not understand either LESS or other preprocessors. To make it work, you need to convert it to CSS first. Developers usually do this with custom builders like Grunt/Gulp. Here is a very good Grunt tutorial for example .
lesscss.org
Less is a CSS pre-processor, meaning that it extends the CSS language, adding features that allow variables, mixins, functions and many other techniques that allow you to make CSS that is more maintainable, themable and extendable.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question