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
When an author uses @value to generate a number, its intention is most of the time to use it as a kind of custom unit like so:
@value rh { ref(height of @root) / 100 }
element
{
//accepts numbers
property: 15 * rh;
}
What I am proposing is letting the user do what he really wants:
element
{
//would be equivalent
property: 15rh;
}
In the same way that the universal selector can be ommited in certain cases, the multiplication operator could be as well if the number is prefixed to the custom unit generated using @value.
The text was updated successfully, but these errors were encountered:
When an author uses
@value
to generate a number, its intention is most of the time to use it as a kind of custom unit like so:What I am proposing is letting the user do what he really wants:
In the same way that the universal selector can be ommited in certain cases, the multiplication operator could be as well if the number is prefixed to the custom unit generated using
@value
.The text was updated successfully, but these errors were encountered: