adambard / adambard/learnxinyminutes-docs

CSS issues

Ouverte
#4,732 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
Markdown
Étoiles
12.3k
Forks
3.7k
Merge moyen
13 h 10 min
PR mergées (30 j)
6

Description

CSS page have really fuzzy explaination.

```css
/* 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?

---

```css
/* 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.

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.