Skip to content

Instantly share code, notes, and snippets.

@pooooriya
Created April 25, 2024 09:01
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pooooriya/ca2fb32395a23eb51b5a0c16447f1f26 to your computer and use it in GitHub Desktop.
Save pooooriya/ca2fb32395a23eb51b5a0c16447f1f26 to your computer and use it in GitHub Desktop.
css
### CSS Selectors
```html
1. bytag
h1 {}
2. byId
#id{}
3. byclass
.class{}
4. tagwithclass
h1.class{}
5.multi select with same css
h1,h2,h3{}
6. next sibling (direct)
div + h1 {}
7.desc (nested select)
div h1 {
}
8. ~ sibling (*)
9. attribute selector
tag[attribute="value"]{}
```
@pooooriya
Copy link
Author

mashgh

1. read selectors in css
2. داخل دفتر وارد شود با مثال
3. داخل دفتر سکشن بندی میکنین
3. پراپرتی : مقادیر و توضیحات
4. یک مثال میخوام که همه ی سلکتور ها + همه پراپرتی هایی که امروز یاد گرفتیم توش اعمال کرده باشین

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment