You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: exercises/08-Style-without-id-class/README.es.md
+5-9Lines changed: 5 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -1,12 +1,12 @@
1
-
# `08`Estilo sin identificación ni clase
1
+
# `08`Style without ID or Class
2
2
3
3
Aquí tienes un hermoso formulario de inscripción, puedes leer el código para entender cómo se hizo.
4
4
5
-
## 📝 Instrucciones
5
+
## 📝 Instrucciones:
6
6
7
7
Reemplaza todos los selectores `.class` y `#id` del `index.html` y sustitúyelos por otros tipos de selectores para lograr la misma referencia. Por ejemplo:
8
8
9
-
Para este html:
9
+
Para este HTML:
10
10
11
11
```html
12
12
<div><aclass="myAnchor">Aquí hay un anchor</a></div>
@@ -15,17 +15,13 @@ Para este html:
15
15
En lugar de:
16
16
17
17
```css
18
-
<style>
19
-
.myAnchor{ background: red; }
20
-
</style>
18
+
.myAnchor { background: red; }
21
19
```
22
20
23
21
Podrías hacer esto:
24
22
25
23
```css
26
-
<style>
27
-
a{ background:red;}
28
-
</style>
24
+
a { background:red; }
29
25
```
30
26
31
27
El único selector de clase que puedes seguir usando es `.active`.
0 commit comments