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: files/en-us/learn_web_development/core/styling_basics/test_your_skills/values/index.md
+24-22Lines changed: 24 additions & 22 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,11 +21,11 @@ In this task, the first list item has been given a background color using a hex
21
21
- The third should use HSL color.
22
22
- The fourth should use RGB color but with the alpha channel set to `0.6`.
23
23
24
-
You [can convert the hex color at convertingcolors.com](https://convertingcolors.com/hex-color-86DEFA.html). You need to figure out how to use the values in CSS. Your final result should look like the image below:
24
+
You [can convert the hex color at convertingcolors.com](https://convertingcolors.com/hex-color-86DEFA.html). You need to figure out how to use the values in CSS. Your final result should look like the following rendering:
25
25
26
-

<summary>Click here to show the solution</summary>
63
65
64
66
By using [a color conversion tool](https://convertingcolors.com/hex-color-86DEFA.html), you should be equipped to use different [color functions](/en-US/docs/Web/CSS/Reference/Values/color_value#syntax) to define the same color in different ways:
65
67
66
-
```css
67
-
.hex {
68
-
background-color: #86defa;
69
-
}
70
-
68
+
```css live-sample___values1-finish
71
69
.rgb {
72
70
background-color: rgb(134222250);
73
71
}
@@ -92,11 +90,11 @@ In this task, we want you to set the font size of various items of text:
92
90
- All `<p>` elements should be `16px`.
93
91
- A `<p>` element that is directly after an `<h1>` should be `120%`.
94
92
95
-
Your final result should look like the image below:
93
+
Your final result should look like the following rendering:
96
94
97
-

0 commit comments