Podcast
Questions and Answers
What does the 'border-style' property define?
What does the 'border-style' property define?
- Width of the border
- Color of the border
- Style of the border line (correct)
- Thickness of the border
Which 'border-style' value will make all four sides of the border use different styles (top right bottom left)?
Which 'border-style' value will make all four sides of the border use different styles (top right bottom left)?
- dashed dotted double
- solid dashed
- dotted double solid
- solid dashed dotted (correct)
What unit does 'border-width' property accept?
What unit does 'border-width' property accept?
- Pixels only
- Pixels and percentages
- Relative units and pixels (correct)
- Em and rem units
What is a pre-defined value for setting a thicker border in CSS?
What is a pre-defined value for setting a thicker border in CSS?
How can you set the width of all four sides of a border to 20% of the font size in CSS?
How can you set the width of all four sides of a border to 20% of the font size in CSS?
'border-width' property sets the:
'border-width' property sets the:
What does the margin space provide between elements?
What does the margin space provide between elements?
Which property sets the style of a border?
Which property sets the style of a border?
What is padding space according to the text?
What is padding space according to the text?
How can borders be configured according to the text?
How can borders be configured according to the text?
What does the border-style property define?
What does the border-style property define?
Why might borders be added to elements?
Why might borders be added to elements?
What does the 'ex-1' rule specify?
What does the 'ex-1' rule specify?
Which side borders are specified in the shorthand rule in the text?
Which side borders are specified in the shorthand rule in the text?
What property can be used to create rounded corners on borders?
What property can be used to create rounded corners on borders?
If you specify two values for 'border-radius', what corners are defined?
If you specify two values for 'border-radius', what corners are defined?
'border: .2em double;' results in what type of border by default?
'border: .2em double;' results in what type of border by default?
'border-bottom:.4em double darkgreen;' results in what bottom border by default?
'border-bottom:.4em double darkgreen;' results in what bottom border by default?
What does specifying three values for border-radius define?
What does specifying three values for border-radius define?
In the box model, what does the padding define?
In the box model, what does the padding define?
When setting the padding property separately, what does padding-right specifically set?
When setting the padding property separately, what does padding-right specifically set?
What does setting padding: 5px 10px 12px; define?
What does setting padding: 5px 10px 12px; define?
Why is it mentioned that you wouldn't normally use all four padding properties separately?
Why is it mentioned that you wouldn't normally use all four padding properties separately?
What does specifying two values for padding like .25em .5em; define?
What does specifying two values for padding like .25em .5em; define?
What property is used to define the shadow's horizontal offset?
What property is used to define the shadow's horizontal offset?
In the CSS box model, what does setting padding:.5em; define?
In the CSS box model, what does setting padding:.5em; define?
When using box-shadow, which property is required to specify the vertical position of the shadow?
When using box-shadow, which property is required to specify the vertical position of the shadow?
What does the 'card' class in the example represent?
What does the 'card' class in the example represent?
How is the border described in 'border: 2px solid navy;'?
How is the border described in 'border: 2px solid navy;'?
What is the purpose of specifying padding, margins, and borders in CSS?
What is the purpose of specifying padding, margins, and borders in CSS?