mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-05-28 18:26:54 +00:00
fix: update image border lecture multiple choice question (#57483)
This commit is contained in:
committed by
GitHub
parent
31ab782280
commit
cd6a5f82b7
+8
-8
@@ -102,35 +102,35 @@ Consider which property specifically targets one side of an element's border.
|
||||
|
||||
## --text--
|
||||
|
||||
What's a potential advantage of using `box-shadow` to create a border effect instead of the `border` property?
|
||||
Which CSS property would you use to round the corners of a border?
|
||||
|
||||
## --answers--
|
||||
|
||||
It's more widely supported by browsers.
|
||||
`border-style`
|
||||
|
||||
### --feedback--
|
||||
|
||||
Think about the flexibility of box-shadow and how it can be used to layer multiple effects.
|
||||
Think of a word related to a circle or curve.
|
||||
|
||||
---
|
||||
|
||||
It allows for multiple "borders" with a single property.
|
||||
`border-radius`
|
||||
|
||||
---
|
||||
|
||||
It's more performant.
|
||||
`border-spacing`
|
||||
|
||||
### --feedback--
|
||||
|
||||
Think about the flexibility of box-shadow and how it can be used to layer multiple effects.
|
||||
Think of a word related to a circle or curve.
|
||||
|
||||
---
|
||||
|
||||
It can create gradients without additional properties.
|
||||
`border-bottom`
|
||||
|
||||
### --feedback--
|
||||
|
||||
Think about the flexibility of box-shadow and how it can be used to layer multiple effects.
|
||||
Think of a word related to a circle or curve.
|
||||
|
||||
## --video-solution--
|
||||
|
||||
|
||||
Reference in New Issue
Block a user