If I have:
.foo
{
background-color:#fff;
}
LESS converts this to:
.foo
{
background-color:white;
}
Why is this? Do browsers process named colours faster than HEX values?
I'm implementing LESS using dotless. Could this be carrying out the conversion? And if so why?
#00FA9A
toMediumSpringGreen
? If not I'd argue they made a few exceptions for the benefit of the human reader. – Hest#00FA9A
converts tomediumspringgreen
. – Cypripediumwhite
to a variable and use it for a property. CodePen Sample. – Pashalikdotless
does this actually. Though there were some talks in a discussion list about changing this behavior. I can't find dotless release notes anywhere but it's possible they have fixed this in v1.4.0 or 1.4.1 (unless you're already using one of those and they still have not). – Spic