15 Tweets 12 reads Apr 10, 2022
โšก Day - 02 of ๐Ÿญ๐Ÿฌ ๐—ฑ๐—ฎ๐˜†๐˜€ ๐—ผ๐—ณ ๐—–๐—ฆ๐—ฆ ๐— ๐—ฎ๐˜€๐˜๐—ฒ๐—ฟ๐˜† โšก
โœง CSS concepts covered in this thread ๐Ÿงตโ‡ฉ
- All CSS Selectors Explained + Cheatsheet?
- CSS Units Explained + Cheatsheet
- CSS Variables
- CSS Variables Scope
Let's go!! โ‡ฉ
๐Ÿ“Œ CSS Selectors
First let's go with the basic ones:-
- Type selector
- Class selector
- id selector
โ‡ฉ
โœง Now as you have learned about basic one's let's get into some advance stuff.
- Attribute selector โ‡ฉ
โœง Attribute selector is good but we have some more which can help us to save a lot of time.
- Universal selector
- Grouping selector
- Compound selector
โ‡ฉ
โœง Now if you are enjoying we have Final & more advance selector which is called Combinators.
- Descendant Combinator
- Child Combinator
- General sibling Combinator
- Adjacent sibling Combinator
โ‡ฉ
โœง All CSS Selectors Explained + Cheatsheet in one Frame โ‡ฉ
๐Ÿ“Œ CSS Units โ‡ฉ
โœฉ CSS has several different units for expressing a length.
โœฉ Many CSS properties take "length" values, such as width, margin, padding, font-size, etc.
โœฉ Length is a number followed by a length unit, such as 10px, 2em, etc.
โœง All CSS Units Cheatsheet โ‡ฉ
๐Ÿ“Œ What are CSS Variables?
โฌ˜ CSS Varaibles [custom properties] are entities defined by CSS authors that contain specific values to be reused throughout a document.
โฌ™ They are set using custom property notation (e.g., --main-color: black;) and accessed using var() function.
โœง Global Scope ๐˜ƒ๐˜€ Local Scope in CSS Varaibles โš”
๐Ÿ Final Words
โœง Though I have covered the CSS Selectors, Units & variables here but still there are much more to explore in this topic.
โœง If you really want to deep dive you can explore MDN docs which are really good for CSS & JavaScript!
๐Ÿ’ญ Feedbacks
โœง After reading through entire thread, have you learnt something worth?
โœง What improvements will you suggest?
I will be happy to hear from you. Feedbacks from you would help me sharing better contents in future.
๐Ÿ“Œ If you are interested in following this series โ‡ฉ
โ‡ Follow @Aakash_codes โœ“
โ‡ To never miss anything, keep your ๐Ÿ”” ON.
โ‡ Share it with your friends if they are interested!
Thanks for the support ๐Ÿ’œ
Here is the complete infographic for series โ‡ฉ

Loading suggestions...