css-exam

0 votes, 0 avg
570

CSS Questions

1 / 15

1.  Which of the following property influences the horizontal alignment of an element, making it “float” toward the left or right margin of its containing element?

2 / 15

2. Which of the following CSS Property defines which property values to apply to the element before the animation begins (if delayed) and after it ends?

3 / 15

3. How do you comment in CSS file?

4 / 15

4. Which of the following is the Color Format that is the CSS3 HSL value with a fourth value to set the alpha channel value for the color to define the opacity of the element?

5 / 15

5. What is not a valid way of declaring a padding value of 10 pixels on the top and bottom, and 0 pixels on the left abd right?

6 / 15

6. CSS is written in which language?

7 / 15

7. In the below code snippet, in what order will the margins be added? p {
margin: 25px 50px 75px 100px;
}

8 / 15

8. If we don't want to allow a floating div to the left side of an element, which CSS property will we use?

9 / 15

9. When using position fixed, what will the element always be positioned relative to?

10 / 15

10. What changes the shadow from an outer shadow?

11 / 15

11. The default value of "position" attrubute is?

12 / 15

12. Which of the following selector selects the element that is the first child of its parent that is of its type?

13 / 15

13. Which of the following CSS Property selects an animation defined in an @keyframes rule and applies it to the element?

14 / 15

14. The __________ rule makes it possible to define different style rules for different media types in the same stylesheet.

15 / 15

15. Which of the following property sets the background image to scroll or not to scroll with its associated element’s content?

Your score is

The average score is 49%

0%

Scroll to Top