-
Notifications
You must be signed in to change notification settings - Fork 0
/
atividade-posicionamento1.html
97 lines (71 loc) · 2.36 KB
/
atividade-posicionamento1.html
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
<!DOCTYPE html>
<html lang="pt-br">
<head>
<meta charset="utf-8">
<title>Atividade posicionamento</title>
</head>
<style>
body {
background-color: aquamarine;
height: 100%;
margin: 0;
padding: 15px 150px;
}
#container {
background-color: white;
width: 100%;
height: 900px;
position: relative;
}
.bloco {
width: 280px;
height: 280px;
border: 2px solid red;
text-align: center;
}
.bloco h1 {
background-color: yellow;
text-transform: uppercase;
}
.bloco p {
padding: 20px;
font-family: sans-serif;
}
#bloco_01 {
background-color: rgb(151, 88, 210);
position: absolute;
}
#bloco_02 {
background-color: rgb(219, 149, 58);
position: absolute;
right: 0;
}
#bloco_03 {
background-color: rgb(102, 229, 106);
position: absolute;
bottom: 0;
}
</style>
<body>
<div id="container">
<div class="bloco" id="bloco_01">
<h1>Um</h1>
<p>
Lorem ipsum dolor sit amet consectetur adipisicing elit. Laborum atque, earum mollitia quis culpa placeat quae minima facere, delectus itaque illum exercitationem dolor quos fuga hic voluptatum deserunt, error odit?
</p>
</div>
<div class="bloco" id="bloco_02">
<h1>Dois</h1>
<p>
Lorem ipsum dolor, sit amet consectetur adipisicing elit. Facilis molestiae deserunt blanditiis asperiores quos magnam natus sapiente delectus atque tenetur mollitia soluta, at nemo inventore eveniet fugit id exercitationem vitae?
</p>
</div>
<div class="bloco" id="bloco_03">
<h1>Tres</h1>
<p>
Lorem ipsum dolor sit, amet consectetur adipisicing elit. Maxime, pariatur suscipit iste dolore odit cupiditate nulla earum hic quos et ea esse aperiam dolorum corporis eum, delectus magni saepe labore.
</p>
</div>
</div>
</body>
</html>