-
Notifications
You must be signed in to change notification settings - Fork 1
/
3.html
77 lines (66 loc) · 1.8 KB
/
3.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
<html>
<head>
<meta charset="UTF-8">
<!-- Latest compiled and minified CSS -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7" crossorigin="anonymous">
<script src="https://code.jquery.com/jquery-3.0.0.js" integrity="sha256-jrPLZ+8vDxt2FnE1zvZXCkCcebI/C8Dt5xyaQBjxQIo=" crossorigin="anonymous"></script>
<style>
.container {
margin-top: 30px;
}
.prev {
position: absolute;
bottom: 10px;
left: 10px;
}
.next {
position: absolute;
bottom: 10px;
right: 10px;
}
#box {
padding: 20px;
margin: 20px;
}
.blue-list {
list-style: none;
background-color: lightblue;
margin: 10px 0;
padding: 5px;
}
.yellow-list {
list-style: none;
background-color: lightyellow;
margin: 10px 0;
padding: 5px;
text-align: right;
}
</style>
</head>
<body>
<div class="container">
<h1>Exercício 3</h1>
<div class="jumbotron">
<p>Selecionar o elemento com class="blue-list"</p>
<ul>
<li>remover a classe blue-list</li>
<li>adicionar a classe yellow-list</li>
</ul>
<div id="box">
<ul>
<li class="blue-list"> Primeiro Item </li>
<li class="blue-list"> Segundo Item </li>
<li class="blue-list"> Terceiro Item </li>
<li class="blue-list"> Quarto Item </li>
</ul>
</div>
</div>
</div>
<br/>
<br/>
<br/>
<br/>
<p class="prev"><a class="btn btn-primary btn-lg" href="2.html" role="button">Exercício Anterior</a></p>
<p class="next"><a class="btn btn-primary btn-lg" href="4.html" role="button">Próximo Exercício</a></p>
</body>
</html>