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 In CSS grid how to set a distance of 10px between all the columns?

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

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

#5 How to remove line breaks within text?

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

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

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

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

#10 How to correctly define a CSS custom property?

#11 Horizontal margins never collapse.

#12 Vertical margins always collapse.

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

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

#15 Which of the following is an invalid unit?

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

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

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

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

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

I am done

Your Result

-

I am sure you will do better next time