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.1-Combined-Rules/README.es.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
3
3
Los archivos CSS ocupan espacio en tu servidor y también tardan en descargarse (como todo); es otro documento de texto que el navegador debe descargar antes de mostrar la página, por lo que es importante mantener el documento CSS lo más pequeño posible.
4
4
5
-
Una forma de hacerlo es combinando varias propiedades en una, como con "border":
5
+
Una forma de hacerlo es combinando varias propiedades en una, como con `border`:
6
6
7
7
```css
8
8
border-color: black;
@@ -16,7 +16,7 @@ Las propiedades de border se pueden consolidar en una sola línea así:
16
16
border: black 1px solid;
17
17
```
18
18
19
-
# 📝 Instrucciones:
19
+
## 📝 Instrucciones:
20
20
21
21
22
22
1. Combina las 4 reglas de padding en una sola utilizando la regla `padding`.
@@ -25,7 +25,7 @@ border: black 1px solid;
25
25
26
26
*El `background-size` no se puede combinar, los navegadores aún no lo admiten.*
27
27
28
-
## Pista:
28
+
## 💡 Pista:
29
29
30
-
- Como usar el background-size: http://lmgtfy.com/?q=css+background
31
-
- Como usar el padding: http://lmgtfy.com/?q=css+padding
30
+
- Cómo usar el background-size: http://lmgtfy.com/?q=css+background
31
+
- Cómo usar el padding: http://lmgtfy.com/?q=css+padding
CSS files take space on your server and also take time to download (like everything); it is yet another text document that the browser has to download before rendering the page, which is why is important to keep the CSS document as small as possible.
7
+
CSS files take up space on your server and also take time to download (like everything); it is yet another text document that the browser has to download before rendering the page, which is why it's important to keep the CSS document as small as possible.
8
8
9
-
One way to do that is by combining several properties into one such as with `border`:
9
+
One way to do that is by combining several properties into one, such as with `border`:
10
10
11
11
```css
12
12
border-color: black;
13
13
border-style: solid;
14
14
border-width: 1px;
15
15
```
16
16
17
-
Border's properties can be consolidated into a single lineas:
17
+
Border's properties can be consolidated into a single linelike this:
18
18
19
19
```css
20
20
border: black 1px solid;
@@ -24,11 +24,11 @@ border: black 1px solid;
24
24
25
25
1. Combine the 4 padding rules into just one using the `padding` rule.
26
26
27
-
2. Combine the all background rules, but the `background-size`, into just one line using the `background:` rule.
27
+
2. Combine all background rules, but the `background-size`, into just one line using the `background:` rule.
28
28
29
29
*The `background-size` cannot be combined, the browsers don't support it yet.*
30
30
31
-
## Hint:
31
+
## 💡 Hint:
32
32
33
33
- How to use the background-size: http://lmgtfy.com/?q=css+background
0 commit comments