-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path02.background.html
More file actions
37 lines (32 loc) · 1.07 KB
/
02.background.html
File metadata and controls
37 lines (32 loc) · 1.07 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Background</title>
<!-- Hoja de estilos común: -->
<link rel="stylesheet" href="styles.css">
<!-- Hoja de background: -->
<link rel="stylesheet" href="02.background.css">
</head>
<body>
<h1>Background</h1>
<p class="bg-gray">Texto con fondo gris.</p>
<p class="bg-gray-90">Texto con fondo gris. Opacidad 90%</p>
<p class="bg-gray-50">Texto con fondo gris. Opacidad 50%</p>
<p class="bg-gray-25">Texto con fondo gris. Opacidad 25%</p>
<p class="bg-gray-rgba">Texto con fondo gris. Opacidad 50%</p>
<div class="bg-css">
<p>div con imagen de fondo de CSS con repeat</p>
</div>
<div class="bg-css-repeat">
<p>div con imagen de fondo de CSS. <a href="#">Leer post</a></p>
</div>
<div class="bg-css-fixed">
<p>div con imagen de fondo "fixed" de CSS. <a href="#">Leer post</a></p>
</div>
<div class="bg-css-atajo">
<p>div con imagen de fondo con atajo "background" de CSS.</p>
</div>
</body>
</html>