Intermediate CSS

January 31, 2020 By Temani Afif

Login/Register to keep track of your score.

#1 What is the intrinsic aspect ratio of a linear-gradient?

#2 Vertical margins always collapse.

#3 How to select all the div elements with a class “a” and without a class “b”?

#4 Which of the following is an invalid unit?

#5 Which selector has the highest specificity?

#6 Which of the following is NOT a valid pseudo class?

#7 The containing block of position:absolute is established by the nearest ancestor with position:relative

#8 How to allow the user to change the dimension of an element?

#9 What is the width of a div element having: width:150px; min-width:100px; max-width:50px;?

#10 Which of the following is an invalid value of the filter property?

#11 A custom property should always be defined inside :root.

#12 Which of the following will allow an immediate color change?

#13 An element with a positive z-index will always be on the top of an element with a negative z-index

#14 Which of the following doesn’t create a stacking context?

#15 100vmin is always smaller than 50vh

#16 position:sticky can be seen as a mix of

#17 How to set the initial value of a counter to be 10?

#18 Which of the following is a valid pseudo class?

#19 How to correctly define a CSS custom property?

#20 transform: rotate(180deg) scale(-1) is the same as

I am done

Your Result

-

I am sure you will do better next time