CSS Questions

0 votes, 0 avg
556

CSS Questions

1 / 15

1. 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?

2 / 15

2.  Which of the following CSS property defines the different properties of all four sides of an element’s border in a single declaration?

3 / 15

3. Which of the following CSS Property sets the stacking order of positioned elements?

4 / 15

4.  Which variable defines the data type of the content in CSS?

5 / 15

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

6 / 15

6. What is the way to specify media dependencies for style sheets ?

7 / 15

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

8 / 15

8. If a particular should never be overridden by another rule, the _______ indication should be used.

9 / 15

9. How would you make the first letter of every paragraph on the page red?

10 / 15

10. Using an attribute selector, how would you select an a tag element with a ‘title’ attribute?

11 / 15

11. If we want to show an Arrow as cursor, then which value we will use?

12 / 15

12. What is the difference between the margin and padding properties?

13 / 15

13. Which model includes margin, border, padding, and content?

14 / 15

14. What is the difference between display:none and visibillity:hidden?

15 / 15

15. Choose the option that correctly specifies the output of the following CSS. span {
border: 1px solid red;
outline: green dotted thick;
}

Your score is

The average score is 49%

0%

Written by Shubhranshu Shekhar, who has trained 20000+ students in coding.

Scroll to Top