CSS_Details
CSS_Details
**
CSS (Cascading Style Sheets) is a style sheet language used to control the layout,
design, and presentation of HTML elements. It allows developers to apply styles to
HTML elements, including colors, fonts, spacing, positioning, and more.
```css
p {
margin: 10px;
padding: 5px;
border: 1px solid black;
width: 200px;
}
```
```css
p { color: red; } /* Type selector */
.example { color: blue; } /* Class selector */
#header { color: green; } /* ID selector */
```
```css
.example { position: relative; }
```
```css
.example { overflow: auto; }
```
```css
@media (max-width: 768px) {
body { font-size: 14px; }
}
```