CSS 3
CSS 3
1. KASKÁDOVÉ ŠTÝLY (link, rel, stylesheet, href, styly.css, type, text/css)
<meta charset="utf-8">
<link rel="stylesheet" href="styly.css" type="text/css" />
With CSS, a color is most often specified by:
- a valid color name - like "red"
- a HEX value - like "#ff0000"
- an RGB value - like "rgb(255,0,0)"
h1 {
background-color: green;
}
div {
background-color: lightblue;
}
p {
background-color:
yellow;
}