css-exam

0 votes, 0 avg
550

CSS Questions

1 / 15

1. The default value of "position" attribute is___________

2 / 15

2. Which property specifies where the background image is positioned?

3 / 15

3. In the following media query example, what conditions are being targeted? @media(min-width:1024px),screen and (orientation: landscape){…..}

4 / 15

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

5 / 15

5. Which of the following CSS property is used to specify the space between every letter inside an element?

6 / 15

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

7 / 15

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

8 / 15

8. In the example below, when will the color pink be applied to the anchor element? a:active{ color:pink; }

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

11 / 15

11. What is the use of Pseudo-classes In CSS?

12 / 15

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

13 / 15

13. Which of the following selector selects an element if it’s the only child of its parent?

14 / 15

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

15 / 15

15. Which of these would give a block element rounded corners?

Your score is

The average score is 49%

0%

Scroll to Top