-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path35_em_rem_px.html
More file actions
66 lines (59 loc) · 1.85 KB
/
Copy path35_em_rem_px.html
File metadata and controls
66 lines (59 loc) · 1.85 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
<!doctype html>
<html lang="pt-br">
<head>
<title>pagina de exemplo estrutura basica</title>
<meta charset="utf-8">
<meta name="author" content="lucas">
<meta name="description" content="lista de documentos">
<meta name="keywords" content="html5, tecnologia">
<meta name="viewport" content="width=device-width">
<style>
html {
font-size: 16px;
}
body {
font-family: sans-serif;
}
h1 {
text-align: center;
}
div {
border: 1px solid black;
/* padding: 16px; */
padding: 1em;
width: 20em;
/* 320/ 16 = 20em */
margin: 6.25em auto;
font-size: 2em;
}
p {
margin: 0;
line-height: 1.5;
font-size: 1.25em;
}
a {
/* rem equivale ao definido na tag html a mais altade todas */
font-size: 1rem;
}
</style>
</head>
<body>
<h1>Unidades de medida</h1>
<div>
<p>
It is a long established fact that a reader will be distracted by the readable content of a page when
looking
at its layout. The point of using <a href="#">Lorem Ipsum is that it</a> has a more-or-less normal
distribution of letters,
as
opposed to using 'Content here, content here', making it look like readable English. Many desktop
publishing
packages and web page editors now use Lorem Ipsum as their default model text, and a search for 'lorem
ipsum'
will uncover many web sites still in their infancy. Various versions have evolved over the years, sometimes
by
accident, sometimes on purpose (injected humour and the like).
</p>
</div>
</body>
</html>