fix(curriculum): update example description in accessibility quiz step 8 (#54374)

Co-authored-by: Sem Bauke <semboot699@gmail.com>
This commit is contained in:
Supravisor
2024-04-17 02:29:28 +12:00
committed by GitHub
parent e31b24ef0c
commit a5b03778c2

View File

@@ -17,7 +17,7 @@ img {
}
```
In this example, `img` elements will have a minimum width of `250px`. And as the viewport grows, the image will grow accordingly to be 25 percent of the viewport width.
In the above example, the width of the image will be 250px if the viewport width is less than 1000 pixels. If the viewport width is greater than 1000 pixels, the width of the image will be 25vw. This is because 25vw is equal to 25% of the viewport width.
Scale the image using its `id` as a selector, and setting the `width` to be the maximum of `100px` or `18vw`.