-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgrid-ejemplo1.html
More file actions
99 lines (84 loc) · 2.21 KB
/
grid-ejemplo1.html
File metadata and controls
99 lines (84 loc) · 2.21 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
91
92
93
94
95
96
97
98
99
<!doctype html>
<html lang="es">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<meta name="viewport" content="width=device-width; initial-scale=1.0">
<title>Proyecto web - Bootstrap</title>
<!-- Bootstrap core CSS -->
<link href="bootstrap/css/bootstrap.min.css" rel="stylesheet">
<style>
body {
padding: 0 16px;
}
.container {
padding: 0 1em;
}
.row {
margin-bottom: 1.5em;
}
.row .row {
margin-top: 0.8em;
margin-bottom: 0;
}
div {
text-align: center;
}
[class*="col-"] {
padding: 1em 0;
background-color: rgba(255,195,13,.3);
border: 1px solid rgba(255,195,13,.4);
}
.return {
position: relative;
display: block;
margin: auto;
font-family: 'Alegreya Sans', sans-serif;
font-size: 18px;
text-align: center;
border: 2px solid #57bebb;
padding: 0 15px;
text-decoration: none;
line-height: 40px;
color: #57bebb;
width: 200px;
height: 40px;
}
.return:hover {
color: tomato;
border: 2px solid white;
}
</style>
</head>
<body>
<div class="container">
<!-- -->
<div class="row">
<p>Dispositivos muy pequeños (Telefonos, anchura menor o igual a 767px)</p>
<div class="col-xs-4">col-xs-4</div>
<div class="col-xs-4">col-xs-4</div>
<div class="col-xs-4">col-xs-4</div>
</div>
<div class="row">
<p>Dispositivos pequeños (tablets, anchura mayor o igual a 768px)</p>
<div class="col-sm-4">col-sm-4</div>
<div class="col-sm-4">col-sm-4</div>
<div class="col-sm-4">col-sm-4</div>
</div>
<div class="row">
<p>Dispositivos medianos (ordenadores, anchura mayor o igual a 992px)</p>
<div class="col-md-4">col-md-4</div>
<div class="col-md-4">col-md-4</div>
<div class="col-md-4">col-md-4</div>
</div>
<div class="row">
<p>Dispositivos grandes (ordenadores, anchura mayor o igual a 1200px)</p>
<div class="col-lg-4">col-lg-4</div>
<div class="col-lg-4">col-lg-4</div>
<div class="col-lg-4">col-lg-4</div>
</div>
<div style="margin-top:80px">
<a class="return" href="http://www.tutosytips.com/3-entendiendo-el-bootstrap-grid-system/">Volver al Tutorial</a>
</div>
</div> <!-- /container -->
</body>
</html>