HTML & CSS - Graded Quiz
23. What is the default value of the flex-direction property in CSS flexbox?
- row
- column
- row with the ltr (left-to-right) direction or row-reverse with the rtl (right-to-left) direction, depending on the writing mode
- column with the rtl (right-to-left) direction or column-reverse with the ltr (left-to-right) direction, depending on the writing mode
24. Which CSS property is used to define the background gradient of an element?
- background-color
- background-image
- gradient-color
- background-gradient
25. Which CSS property is used to apply a 2D transformation to an element?
- transform-2d
- 2d-transform
- transform
- 2d
26. Which CSS property is used to define the duration of a transition effect?
- transition-effect-duration
- transition-time
- transition-duration
- duration
27. Which CSS property is used to apply an animation to an element?
- animate
- animation-duration
- animation-property
- animation
28. Which CSS feature allows you to apply styles based on the device's screen size?
- Media queries
- Device queries
- Screen queries
- Size queries
29. Which of the following is NOT a valid value for the "display" property in CSS?
- block
- inline
- grid
- space
30. Which property is used to set the background color of an element in CSS?
- color
- background-color
- font-color
- background
31. Which CSS property is used to specify the size of an element's font?
- font-family
- font-size
- font-weight
- font-style
32. Which of the following is a correct syntax for using the "transition" property in CSS?
- transition: 1s all ease;
- transition: all ease 1s;
- transition: all 1s ease-in-out;
- transition: all ease-in-out 1s;