Intermediate CSS

January 31, 2020 By Temani Afif

Login/Register to keep track of your score.

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

#2 margin-top and top behave the same when applied to a position:relative element

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

#4 Which of the following is an invalid unit?

#5 Which of the following is not a transformable element?

#6 In CSS grid how to create a layout with 3 equal columns?

#7 Which selector has the highest specificity?

#8 Vertical margins always collapse.

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

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

#11 100vmin is always smaller than 50vh

#12 Which of the following will trigger the shrink-to-fit behavior when applied to a div element?

#13 width:calc((100% + 10px) – 10%) is the same as

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

#15 Which of the following will NOT show a border?

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

#17 Horizontal margins never collapse.

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

#19 100vmax is always bigger than 50vw

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

I am done

Your Result

-

I am sure you will do better next time