Question Bank
1085 approved questions from the community
The outline property affects the element's layout and box model.
CSS can be used to create animations without JavaScript.
Which property is used to add a border around an element?
Vendor prefixes like -webkit- and -moz- are still necessary for all modern CSS features.
Pseudo-elements use double colons (::) while pseudo-classes use single colons (:).
Which property is used to create a shadow around an element?
The max-width property can prevent an element from becoming too wide.
The vertical-align property works on any element regardless of display type.
The @font-face rule is used to define custom fonts for downloading.
Which property is used to create small-caps text?
The translate() function can move the position of an element on the z-axis.
Which CSS property is used for image scroll control?
The word-wrap property can break long unbreakable words to prevent overflow.
Which of the following are combinators in CSS? (Select all that apply)
Which property is used to change the background color?
What unit is 'px' in CSS?
Which CSS property is used to create rounded corners?
What does !important do in CSS?
Which property is used to align text horizontally?
Which of the following are valid border-style values? (Select all that apply)