Intermediate CSS

January 31, 2020 By Temani Afif

Login/Register to keep track of your score.

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

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

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

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

#5 In CSS grid how to set a distance of 10px between all the columns?

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

#7 The line-height value can be specified inside the font property.

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

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

#10 100vmin is always smaller than 50vh

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

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

#13 How to correctly define a CSS custom property?

#14 Horizontal margins never collapse.

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

#16 100vmax is always bigger than 50vw

#17 Which selector has the lowest specificity?

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

#19 background-position:100% calc(100% + 20px); is the same as

#20 What is the default value of the border-image-repeat property?

I am done

Your Result

-

I am sure you will do better next time