CSS-reviewer
CSS-reviewer
CSS describes how HTML elements are to be displayed on screen, paper, or in other media
CSS saves a lot of work. It can control the layout of multiple web pages all at once
1. CSS Introduction
CSS Syntax: CSS rules are written in the form of selectors and declarations:
css
Copy code
selector {
property: value;
Declaration Block: Contains one or more properties and values to apply to the selector.
2. CSS Selectors
Basic Selectors:
Combinators:
3. CSS Colors
Opacity & Transparency: Use rgba and hsla for transparent colors.
4. CSS Backgrounds
Background Color: background-color: color;
5. CSS Borders
Defines how width and height are calculated, including content, padding, border, and margin.
Position Property:
9. CSS Flexbox
Main Properties:
o display: flex;
o display: grid;