This repository was archived by the owner on Jan 4, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtexto.html
More file actions
90 lines (76 loc) · 1.98 KB
/
Copy pathtexto.html
File metadata and controls
90 lines (76 loc) · 1.98 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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Texto</title>
<link href="https://fonts.googleapis.com/css?family=Indie+Flower" rel="stylesheet">
<style>
/* ... */
* {
margin: 0;
}
html {
font-size: 28px;
}
body {
display: flex;
flex-direction: column;
align-items: center;
}
div {
font-size: 50px;
}
p {
/* valores padrões */
font-size: 1em;
font-size: 100%;
font-size: 16px;
font-size: 12pt;
/* unidades absolutas */
font-size: 100px; /* tamanho do pixel é relativo */
font-size: 72pt; /* pontos */
font-size: 1in; /* polegada */
/* unidades relativas */
font-size: 2.2em;
font-size: 2.2rem;
font-size: 50vh;
font-size: 10vw;
font-family: monospace;
font-family: Georgia, serif;
font-family: Verdana, sans-serif;
font-family: 'Indie Flower', cursive;
font-weight: 100;
font-style: italic;
text-transform: uppercase;
/* text-decoration: overline underline line-through; */
word-spacing: 10px;
letter-spacing: 20px;
line-height: 2.5em;
text-align: center;
}
.botao {
font-size: 28px;
text-decoration: none;
padding: 10px 30px;
border-radius: 25px;
}
.destaque {
color: #fff;
background: tomato;
box-shadow: 2px 2px 1px 1px #000;
}
.destaque:active {
box-shadow: none;
}
</style>
</head>
<body>
<div>
<p>
Que texto
<br>legal!!!
</p>
</div>
<a href="http://google.com" class="botao destaque">Google</a>
</body>
</html>