CSS Questions

0 votes, 0 avg
551

CSS Questions

1 / 15

1. The default value of “position” attrubute is?

2 / 15

2. When we write < img src="img.png" > , what “img.png” inside double quote implies?

3 / 15

3. Which selector do we use to specify the rule for binding some particular unique element?

4 / 15

4. Which of the following selector selects all element of E that have the attribute attr that end with the given value?

5 / 15

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

6 / 15

6. Which of the following is used for spread radius?

7 / 15

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

8 / 15

8. Which of the following property controls the horizontal overflow of a block or inline block?

9 / 15

9. There are many properties that can be used to align elements and create page layouts such as float,postion,flexbox and grid. Out of these four properties, which one should be used to align a global navigation bar which stays fixed at the top of the page?

10 / 15

10. What will be the output of following CSS code snippet? h1 {color: red text-decoration: underline; font-style: italic;}

11 / 15

11. Which of the following CSS Gradient Functions sets the direction and colors of a gradient that fades from one color to the next in a straight line?

12 / 15

12. Which of the following is not a browser-specific versions of linear-gradient()?

13 / 15

13. Which of the following will insert generated content in the counter?

14 / 15

14. Which value specifies a transition effect with a slow start, then fast, then end slowly?

15 / 15

15. Which of the following Property controls the display of small caps?

Your score is

The average score is 49%

0%

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

Scroll to Top