lundi 8 avril 2019

lesscss how to escape parentheses

I have the following pure CSS rule:

#cboxOverlay{
  background:url(images/overlay.png) repeat 0 0; 
  opacity: 0.9; 
  filter: alpha(opacity = 90);
}

When I compile it with less (lessc) It confuses the alpha(opacity = 90) to be a Less function.
How do I escape alpha(opacity = 90) to be treated as simple CSS?




Aucun commentaire:

Enregistrer un commentaire