Intermediate CSS

January 31, 2020 By Temani Afif

Login/Register to keep track of your score.

#1 Which selector has the lowest specificity?

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

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

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

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

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

#7 Which of the following is an invalid unit?

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

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

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

#11 Horizontal margins never collapse.

#12 Which selector has the highest specificity?

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

#14 Vertical margins always collapse.

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

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

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

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

#19 How to remove line breaks within text?

#20 Which of the following is an invalid value of the transform property?

I am done

Your Result

-

I am sure you will do better next time