-
Notifications
You must be signed in to change notification settings - Fork 1
/
tet.html
56 lines (56 loc) · 1.32 KB
/
tet.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
<!DOCTYPE html>
<html>
<head>
<meta name="charset" content="utf-8" />
<meta name="viewport" content="width=device-width,initial-scale=1.0" />
<title>Bootstrap - Layout responsivo</title>
<link rel="stylesheet" type="text/css" href="css/bootstrap.min.css">
<script type="text/javascript" src="js/jquery-3.4.1.min.js"></script>
<script type="text/javascript" src="js/bootstrap.min.js"></script>
<style type="text/css">
#azul{
background-color: #0000ffff;
height: 120px;
}
#vermelho{
background-color: #cc0000;
height: 120px;
}
#preto{
background-color: #000000;
min-height: 400px;
}
#amarelo{
background-color: #ffcc00;
min-height: 400px;
}
#verde{
background-color: #030a33;
height: 100px;
}
@media screen and (max-width: 576px){
#azul{
height: 50px;
}
#vermelho{
height: 50px;
}
}
</style>
</head>
<body>
<div class="container-fluid">
<div class="row">
<div id="azul" class="col-sm-3 col-xs-12"></div>
<div id="vermelho" class="col-sm-9 col-xs-12"></div>
</div>
<div class="row">
<div id="preto" class="col-sm-10 col-xs-12"></div>
<div id="amarelo" class="col-sm-2 d-none d-sm-block"></div>
</div>
<div class="row">
<div id="verde" class="col-12"></div>
</div>
</div>
</body>
</html>