CSS Notes
CSS Notes
------------------------------
Basic Syntax:
- Positioning: position (static, relative, absolute, fixed), top, left, right, bottom.
- More specific selectors override less specific ones (ID > class > element).
- Styles cascade, meaning the last defined rule in the stylesheet applies.
5. Responsive Design:
6. Box Model:
- Content -> Padding -> Border -> Margin (controls the layout and spacing).
7. CSS Units:
CSS Frameworks: