Closed sandrojohanides closed 5 years ago
Seems to happen in a comma separated list when a string is named as a CSS property (bottom, color...). In a space separated list, all of the property-like strings are incorrectly highlighted. Doesn’t work for all properties, see position.
bottom
color
position
@if index((top, bottom), $dir) { $offset-dir: if($offset-dir == right, right, left); } @else if index((left, right), $dir) { $offset-dir: if($offset-dir == bottom, bottom, top); }
Seems to happen in a comma separated list when a string is named as a CSS property (
bottom
,color
...). In a space separated list, all of the property-like strings are incorrectly highlighted. Doesn’t work for all properties, seeposition
.