Intermediate CSS

January 31, 2020 By Temani Afif

Login/Register to keep track of your score.

#1 Which of the following is an invalid CSS property?

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

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

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

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

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

#7 Which selector has the highest specificity?

#8 100vmin is always smaller than 50vh

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

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

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

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

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

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

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

#16 A font where all the characters occupy the same amount of horizontal space is called?

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

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

#19 Which selector has the lowest specificity?

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

I am done

Your Result

-

I am sure you will do better next time