CSS Questions

0 votes, 0 avg
551

CSS Questions

1 / 15

1. What is the role of pseudo-class in CSS

2 / 15

2.  Which of the following Media Query describe the ratio of the device width to the device height of the media?

3 / 15

3. The CSS property that is equivalent to the align attribute is:

4 / 15

4.  Which of the following selector matches the name of any element type?

5 / 15

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

6 / 15

6. Suppose we want to arrange 5 no of divs so that div4 is placed above div1. Now, which css property will we use to control the order of stack?

7 / 15

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

8 / 15

8. CSS is written in which language?

9 / 15

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

10 / 15

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

11 / 15

11. Which one can animate the width of search input when get focus?

12 / 15

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

13 / 15

13. What scales the background image as large as possible?

14 / 15

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

15 / 15

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

Your score is

The average score is 49%

0%

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

Scroll to Top