-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPoeclase2.html
152 lines (129 loc) · 3.21 KB
/
Poeclase2.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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
<!DOCTYPE html>
<html lang="en">
<head>
<title>CSS Template</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<style>
* {
box-sizing: border-box;
}
body {
font-family: Arial, Helvetica, sans-serif;
}
/* Style the header */
header {
background-color: #000000;
padding: 30px;
text-align: center;
font-size: 35px;
color: rgba(126, 248, 142, 0.801);
}
/* Create two columns/boxes that floats next to each other */
nav {
float: top;
width: 100%;
height: 100px; /* only for demonstration, should be removed */
background: #fffefe;
padding: 20px;
}
/* Style the list inside the menu */
nav ul {
list-style-type: none;
padding: 0;
text-align: center;
}
article {
float: left;
padding: 20px;
width: 33%;
background-color: #a2fd99;
height: 300px; /* only for demonstration, should be removed */
}
div {
float: left;
padding: 20px;
width: 33%;
background-color: #96ff96;
height: 300px; /* only for demonstration, should be removed */
}
/* Clear floats after the columns */
section::after {
content: "";
display: table;
clear: both;
}
/* Style the footer */
footer {
background-color: #030a00;
padding: 10px;
text-align: center;
color: white;
}
/* Responsive layout - makes the two columns/boxes stack on top of each other instead of next to each other, on small screens */
@media (max-width: 600px) {
nav, article {
width: 100%;
height: auto;
}
}
.city{
background-color: rgb(5, 124, 0);
color: aliceblue;
border: 2px solid black;
margin: 20px;
padding: 20px;
border-radius: 1000px;
font-size: 30px;
box-shadow: 50px 30px 30px rgb(153, 241, 102);
}
.city:hover{
background-color: rgb(169, 240, 163);
border-radius: 0px;
box-shadow: 50px 30px 30px rgb(147, 245, 155);
}
</style>
</head>
<body>
<h2>Nicolas Salas</h2>
<p>In this example, we have created a header, two columns/boxes and a footer. On smaller screens, the columns will stack on top of each other.</p>
<p>Resize the browser window to see the responsive effect (you will learn more about this in our next chapter - HTML Responsive.)</p>
<header>
<h2>Putumayo</h2>
</header>
<nav>
<ul>
<li><a href="#">Mocoa </a> /<a href="#">Villagarzon</a> /<a href="#">La Hormiga</a></li>
</ul>
</nav>
<section>
<article>
<h1>Mocoa</h1>
<p>Mocoa es la capital del departamento del putumayo.</p>
</article>
<div>
<h1>VillaGarzon</h1>
<p>Villa es un Municipio del departamento, conocido por el chontaduro.</p>
</div>
<div>
<h1>La Hormiga</h1>
<p>La hormiga es conocida por ser zona fronteriza con el vecino pais del ecuador.</p>
</div>
</section>
<footer>
<p>putumayo</p>
</footer>
<div class="city">
<h2>mocoa</h2>
<p>Capital del putumayo.</p>
</div>
<div class="city">
<h2>VillaGarzon</h2>
<p>municipio del putumayo.</p>
</div>
<div class="city">
<h2>La hormiga</h2>
<p>Zona fronteriza.</p>
</div>
</body>
</html>