-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathindex.html
More file actions
127 lines (103 loc) · 3.28 KB
/
Copy pathindex.html
File metadata and controls
127 lines (103 loc) · 3.28 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
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>DOM</title>
<script type="text/javascript" src="./11_ModificandoElementos(CoolStyle).js"></script>
</head>
<body>
<style>
body{
background-color: #000000;
color: #FAFAFA;
}
.card{
float: left;
border-radius: 5px;
text-align: center;
background-color: #50404D;
width: 215px;
}
.card figcaption{
padding: 1rem;
}
.rotate-45{
transform: rotate(45deg);
}
.rotate-135{
transform: rotate(135deg);
}
.opacity-80{
opacity: .8;
}
.sepia{
filter:sepia(1);
}
.link-dom{
display: block;
}
:root{
--green-color: #008F4C;
--dark-color: #0d1117;
}
</style>
<h1>
DOM (Document Object Model)
</h1>
<hr>
<!-- Nodos.js -->
<fieldset>
<legend>
<h2>Elementos para Nodos.js </h2>
</legend>
<p id="what-is">
Lorem ipsum dolor sit amet consectetur adipisicing elit. Fuga unde ratione sed obcaecati. Amet doloribus numquam quis saepe, architecto adipisci repudiandae exercitationem sit inventore? Aspernatur modi distinctio et ipsa maxime!
</p>
<nav id="menu">
<ul>
<li><a href="#">Seccion 1</a></li>
<li><a href="#">Seccion 2</a></li>
<li><a href="#">Seccion 3</a></li>
<li><a href="#">Seccion 4</a></li>
<li><a href="#">Seccion 5</a></li>
</ul>
</nav>
<input type="text" name="name" placeholder="Name">
<br><br>
<a class="link-dom" href="index.html" data-ssh="dfbqvw4b57pgw47543hf0534f5" data-description="Document Object Model" style="color:gray;">DOM</a>
<br><br>
<section class="cards">
<figure class="card">
<img src="https://placeimg.com/200/200/tech" alt="Tech">
<figcaption>Tech</figcaption>
</figure>
<figure class="card">
<img src="https://placeimg.com/200/200/animals" alt="Animals">
<figcaption>Animals</figcaption>
</figure>
<figure class="card">
<img src="https://placeimg.com/200/200/people" alt="People">
<figcaption>People</figcaption>
</figure>
<figure class="card">
<img src="https://placeimg.com/200/200/arch" alt="Arch">
<figcaption>Arch</figcaption>
</figure>
<figure class="card">
<img src="https://placeimg.com/200/200/nature" alt="Nature">
<figcaption>Nature</figcaption>
</figure>
</section>
</fieldset>
<!-- Creamos un Template HTML -->
<template id="template-card">
<figure class="card">
<img>
<figcaption></figcaption>
</figure>
</template>
<footer>hola</footer>
</body>
</html>