Skip to content

[css-selectors] Div selector patterns aliases #1893

New issue

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

Open
Array23 opened this issue Oct 19, 2017 · 1 comment
Open

[css-selectors] Div selector patterns aliases #1893

Array23 opened this issue Oct 19, 2017 · 1 comment

Comments

@Array23
Copy link

Array23 commented Oct 19, 2017

use div.foo as myDiv;
use div.bar > li.baz as anotherDiv;
myDiv > anotherDiv {
                                     //             ....style...
}

I just tought this could be useful, If you want to exactly specify every div and it's tree in selector, it wold make whole words unnecessary in coding styles. I know there are pre proccessors, but internet is about standardization, isn't it?

@SelenIT
Copy link
Collaborator

SelenIT commented Oct 20, 2017

There is the Custom Selectors proposal in the CSS Extensions draft. Doesn't it solve the same problem as your proposal?

@tabatkins tabatkins added the selectors-4 Current Work label Oct 27, 2017
@fantasai fantasai added selectors-5 and removed selectors-4 Current Work labels Nov 15, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants