Intermediate CSS

January 31, 2020 By Temani Afif

Login/Register to keep track of your score.

#1 Horizontal margins never collapse.

#2 How to remove line breaks within text?

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

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

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

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

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

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

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

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

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

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

#13 Which selector has the lowest specificity?

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

#15 Vertical margins always collapse.

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

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

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

#19 100vmin is always smaller than 50vh

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

I am done

Your Result

-

I am sure you will do better next time