You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
div {
margin-left:-$var;
margin-right:-212px;
margin-top:-$var;
margin-bottom:-212px;
}
I understand that at least the margin-left line is to do with the bugs mentioned above, but the others surprise me. Especially the fact that adding a space to the margin-top line to get the margin-bottom line makes the variable get noticed.
The text was updated successfully, but these errors were encountered:
Yes this is strange, but - is a part of the valid ident token (-$var is a valid variable name, because in Stylus we can declare variables either with or without $, and rules for the properties (like -webkit-foo) is the same as for variables).
I'm not sure if this is the same as or similar to #1051 or #279 (at least parts of it are).
I have
and I get
I understand that at least the margin-left line is to do with the bugs mentioned above, but the others surprise me. Especially the fact that adding a space to the margin-top line to get the margin-bottom line makes the variable get noticed.
The text was updated successfully, but these errors were encountered: