Intermediate CSS

January 31, 2020 By Temani Afif

Login/Register to keep track of your score.

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

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

#3 Which of the following is an invalid unit?

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

#5 Horizontal margins never collapse.

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

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

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

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

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

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

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

#13 Which selector has the lowest specificity?

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

#15 In CSS grid how to make all the rows equal in height?

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

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

#18 What is the default value of flex-grow?

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

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

I am done

Your Result

-

I am sure you will do better next time