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/04-Class-Selector/README.es.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,19 +1,19 @@
1
1
# `04` El selector de clase
2
2
3
-
Hay muchas formas de seleccionar los elementos HTML para aplicarles estilos, hasta ahora solo hemos usado la etiqueta selector, hablemos sobre el selector `.class`:
3
+
Hay muchas formas de seleccionar los elementos HTML para aplicarles estilos, hasta ahora solo hemos usado los selectores de etiquetas, así que hablemos sobre el selector `.class`:
4
4
5
5
## Selector de clase:
6
6
7
7
Es el selector de CSS más popular, probablemente lo usarás cada 5 minutos.
8
8
9
-
Usa la propiedad de clase del elemento HTML para seleccionarlo. La reglas de estilo se aplicarán a todos los elementos con la misma clase.
9
+
Usa la propiedad `class`del elemento HTML para seleccionarlo. Las reglas de estilo se aplicarán a todos los elementos con la misma clase.
10
10
11
11
```css
12
12
.small{
13
13
font-size: 9px;
14
14
}
15
15
```
16
-
*Cualquier etiqueta html con `class="small"` tendrá un font-size de `9px`.*
16
+
*Cualquier etiqueta HTML con `class="small"` tendrá un font-size de `9px`.*
There are many ways to select HTML elements to apply styles to them, so far we have only use the `tag` selector, lets talk about the `.class` selector:
7
+
There are many ways to select HTML elements to apply styles to them, so far we have only used the `tag` selector, so let's talk about the `.class` selector:
8
8
9
9
## `.class` Selector
10
10
11
-
It is the most popular css selector, you will probably use it every 5 minutes.
11
+
It is the most popular CSS selector, you will probably use it every 5 minutes.
12
12
13
13
Use the class property of the HTML element to select it. Styling rules will apply to all elements with the same class value
14
14
@@ -24,6 +24,6 @@ Use the class property of the HTML element to select it. Styling rules will appl
24
24
25
25
Right now there is a class selected on the CSS that is called `.b-blue`.
26
26
27
-
Please apply that class to both of the `<p>` tags in HTML.
27
+
Please apply that class to both of the HTML `<p>` tags.
0 commit comments