css-exam

0 votes, 0 avg
551

CSS Questions

1 / 15

1. What will be the output of the following CSS code snippet? span {
border: 1px solid red;
outline: green dotted thick;
}

2 / 15

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

3 / 15

3. Which of the following CSS property specifies the look and design of an outline?

4 / 15

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

5 / 15

5. How do you comment in CSS file?

6 / 15

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

7 / 15

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

8 / 15

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

9 / 15

9. When adding transparency styles, what is the difference between using the opacity property versus the background property with rgba() value?

10 / 15

10. When using flexbox, the 'justify-content' property can be used to distribute the space between the flex items along the main axis. Which value should be used to evenly distribute the flex items within the container shown below.

11 / 15

11. Which of the following is the correct syntax to display the hyperlinks without any underline?

12 / 15

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

13 / 15

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

14 / 15

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

15 / 15

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

Your score is

The average score is 49%

0%

Scroll to Top