We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Using prop(name), you can reference existing properties. It should be possible to access properties from other selectors too.
prop(name)
Syntax ideas:
.floated-left { float: left; width: 100px; } .something-else { margin-left: prop({.floated-left}.width); margin-left: prop(.floated-left, width); }
The first syntax opens the possibility of using {selector} as a generic "pseudo class". For example, you could do this:
{selector}
.floated-left-bordered { apply: {.floated-left}; // Copy declarations from any rule with .floated-left as a selector apply: centered<100px>; }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Using
prop(name)
, you can reference existing properties. It should be possible to access properties from other selectors too.Syntax ideas:
The first syntax opens the possibility of using
{selector}
as a generic "pseudo class". For example, you could do this:The text was updated successfully, but these errors were encountered: