
Learn Programming - By Anvi π€΅πΌββοΈπ»
June 18, 2025 at 07:20 AM
*π¨ Master CSS :*
The CSS Tree π
|
|ββ *Selectors*
| βββ Universal (`*`)
| βββ Type (`div`, `h1`)
| βββ Class (`.class`)
| βββ ID (`#id`)
| βββ Attribute (`[type="text"]`)
| βββ Pseudo (`:hover`, `:nth-child`)
|
|ββ *Box Model*
| βββ Content
| βββ Padding
| βββ Border
| βββ Margin
|
|ββ *Display & Position*
| βββ display: block/inline/flex/grid
| βββ position: static/relative/absolute/fixed/sticky
| βββ z-index
|
|ββ *Flexbox*
| βββ display: flex
| βββ justify-content
| βββ align-items
| βββ flex-wrap / flex-direction
|
|ββ *Grid*
| βββ display: grid
| βββ grid-template-rows/columns
| βββ gap
| βββ grid-area
|
|ββ *Colors & Background*
| βββ color
| βββ background-color
| βββ gradients
| βββ background-image
|
|ββ *Typography*
| βββ font-family
| βββ font-size
| βββ line-height
| βββ text-align / text-transform
|
|ββ *Units & Values*
| βββ px / em / rem / % / vw / vh
| βββ calc()
|
|ββ *Transitions & Animations*
| βββ transition
| βββ keyframes
| βββ animation-name / duration / delay
|
|ββ *Media Queries (Responsive)*
| βββ min-width / max-width
| βββ device-specific styling
|
|ββ *Pseudo-classes & Elements*
| βββ :hover / :focus / :nth-child
| βββ ::before / ::after
|
|ββ *Layout Utilities*
| βββ overflow
| βββ float / clear
| βββ visibility / display
|
|ββ *Variables (CSS Custom Properties)*
| βββ --main-color: blue;
|
|ββ *Frameworks*
| βββ Bootstrap
| βββ Tailwind CSS
| βββ Bulma
|
|ββ *Best Practices*
| βββ BEM Naming
| βββ External CSS
| βββ DRY principle
|
|ββ *Debugging Tools*
| βββ DevTools
| βββ Box model inspector
|
|ββ END __
π¬ *Double Tap β€οΈ if this helped you!* β¨