-
Notifications
You must be signed in to change notification settings - Fork 114
Expand file tree
/
Copy pathstylehtml5.html
More file actions
99 lines (86 loc) · 2.14 KB
/
stylehtml5.html
File metadata and controls
99 lines (86 loc) · 2.14 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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Styles</title>
<link href="https://fonts.googleapis.com/css?family=Fira+Sans:400,400i,500,600,700i,800|Open+Sans|Roboto:300i,400,400i,500,500i,700,700i,900,900i" rel="stylesheet">
<style>
body {
margin: 0;
padding: 0;
background-color: #fff;
}
em {
font-weight: 600;
color: pink;
}
h1 {
font-family: 'Roboto', sans-serif;
position: absolute;
top: 20px;
left: 200px;
z-index: 3;
font-size: 20pt;
color: purple;
}
h2 {
font-family: Tahoma, Helvetica, sans-serif;
position: absolute;
top: 60px;
left: 150px;
z-index: 3;
font-size: 20pt;
color: blue;
}
p {
font-size: 12pt;
font-family: Arial, sans-serif;
}
.background_image {
position: absolute;
top: 0;
left: 0;
z-index: 1;
width: 100%;
height: auto;
}
.foreground_image {
position: absolute;
top: 25px;
left: 100px;
z-index: 2;
max-width: 100%;
height: auto;
}
.text1 {
position: absolute;
top: 120px;
left: 150px;
z-index: 3;
font-size: 20pt;
font-family: Tahoma, Geneva, sans-serif;
}
.text2 {
position: absolute;
top: 150px;
left: 150px;
z-index: 3;
font-size: 40pt;
font-family: Tahoma, Geneva, sans-serif;
color: red;
}
</style>
</head>
<body>
<h1>FCA UNAM</h1>
<h2>Desarrollo de sitios web con transacciones en línea</h2>
<img src="images/background_image.png" class="background_image" alt="Background" />
<img src="images/foreground_image.png" class="foreground_image" alt="Foreground" />
<p class="text1">
This text has the <em>font-size</em> style applied to it, making it 20pt.
</p>
<p class="text1" style="color: deepskyblue;">
This text has the <em>font-size</em> and <em>color</em> styles applied to it, making it 20pt and deep sky blue.
</p>
</body>
</html>