mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-04-12 19:00:43 -04:00
fix(curriculum): update example description in accessibility quiz step 8 (#54374)
Co-authored-by: Sem Bauke <semboot699@gmail.com>
This commit is contained in:
@@ -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`.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user