adambard / adambard/learnxinyminutes-docs

CSS issues

Đang mở
#4,732 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Markdown
Star
12.3k
Fork
3.7k
Merge trung bình
13 giờ 10 phút
Pull request đã merge (30 ngày)
6

Mô tả

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.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.