Podcast
Questions and Answers
Which CSS property is used to set the maximum width of an element?
Which CSS property is used to set the maximum width of an element?
- max-width (correct)
- min-height
- width
- min-width
What CSS property is employed to change the perspective of 3D transformed elements?
What CSS property is employed to change the perspective of 3D transformed elements?
- transform (correct)
- filter
- animation
- transition
In CSS, which property is used to create a shadow effect around an element's box?
In CSS, which property is used to create a shadow effect around an element's box?
- color
- border-image
- box-shadow (correct)
- opacity
What type of CSS unit is 'em' an example of?
What type of CSS unit is 'em' an example of?
Which CSS property sets the style of the four borders of an element?
Which CSS property sets the style of the four borders of an element?
What does the 'z-index' property in CSS control?
What does the 'z-index' property in CSS control?
Which CSS unit is relative to the font-size of the element?
Which CSS unit is relative to the font-size of the element?
Which CSS selector targets different HTML elements using the same specific class attribute value?
Which CSS selector targets different HTML elements using the same specific class attribute value?
What is the order of specificity for CSS selectors from least to most specific?
What is the order of specificity for CSS selectors from least to most specific?
What is the result of the following CSS styles: main-heading { color: red; }
and h1 { color: blue; }
?
What is the result of the following CSS styles: main-heading { color: red; }
and h1 { color: blue; }
?
Which CSS unit is relative to 1% of the width/height of the browser window?
Which CSS unit is relative to 1% of the width/height of the browser window?
Which CSS selector allows you to target a specific element by its id attribute regardless of its type?
Which CSS selector allows you to target a specific element by its id attribute regardless of its type?
What is the purpose of CSS in web development?
What is the purpose of CSS in web development?
Which property is used to set the font family of an HTML element in CSS?
Which property is used to set the font family of an HTML element in CSS?
What does the CSS declaration margin: 10px;
do?
What does the CSS declaration margin: 10px;
do?
What is the purpose of the @font-face
rule in CSS?
What is the purpose of the @font-face
rule in CSS?
Which CSS property is used to set the border style of an HTML element?
Which CSS property is used to set the border style of an HTML element?
What is the difference between padding
and margin
in CSS?
What is the difference between padding
and margin
in CSS?