CSS Questions

0 votes, 0 avg
548

CSS Questions

1 / 15

1. Which of the following function adjusts the difference between light and dark values, for use by the filter property?

2 / 15

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

3 / 15

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

4 / 15

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

5 / 15

5. Which Of The Following Selector Selects An Element That Has No Children?

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 one is NOT the audio element’s attribute?

8 / 15

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

9 / 15

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

10 / 15

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

11 / 15

11. Which of the following is only for table elements?

12 / 15

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

13 / 15

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

14 / 15

14. What type of CSS is generally recommended for designing large web pages?

15 / 15

15. What should be the table width, So that the width of the table adjust to the current width of the browser window?

Your score is

The average score is 49%

0%

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

Scroll to Top