Skip to content
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

Nested elements #22

Closed
dcporter44 opened this issue Jul 1, 2016 · 1 comment
Closed

Nested elements #22

dcporter44 opened this issue Jul 1, 2016 · 1 comment

Comments

@dcporter44
Copy link

dcporter44 commented Jul 1, 2016

It would be great to be able to use the > CSS selector to create nested elements. For example div>div would result in one div nested in another. And the + selector can create siblings.

Also,
I saw a previous issue where you thought saying div[template=test] wouldn't be helpful, but why? Its quicker than writing

Anyway, big fan of this package, so thanks!

@surdu
Copy link
Owner

surdu commented Jan 16, 2017

Hello and sorry for the late response, somehow I missed the notification for this issue 😞 .

The goal of this plugin is to provide basic building blocks that will allow you to achieve any other structure. In your example, usually you take care of one div at a time, like adding the appropriate class and id for each.

As for your second point, I agree, but I found a more elegant solution for this described in #16 😄

Thank you very much for your feedback, much appreciated, and sorry again for being so very late with the answer.

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

2 participants