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

CSS issues #4732

Open
ivanstepanovftw opened this issue Aug 18, 2023 · 0 comments
Open

CSS issues #4732

ivanstepanovftw opened this issue Aug 18, 2023 · 0 comments

Comments

@ivanstepanovftw
Copy link

CSS page have really fuzzy explaination.

/* You can select an element which is a child of another element */
div.some-parent > .class-name { }

/* or a descendant of another element. Children are the direct descendants of
   their parent element, only one level down the tree. Descendants can be any
   level down the tree. */
div.some-parent .class-name { }

It is unclear which element will be selected. div.some-parent or .class-name one?
What does "another element" mean?


/* Warning: the same selector without a space has another meaning.
   Can you guess what? */
div.some-parent.class-name { }

What should one guess in Learn X in Y? Why not just explain warning?


I didn't like this page and explaination of rules.

@verhovsky verhovsky changed the title [Request] [CSS] CSS issues May 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant