Basic CSS

January 17, 2020 By Temani Afif

Login/Register to keep track of your score.

#1 Which selector has the lowest specificity?

#2 Which CSS property cannot be used with negative values?

#3 What is the default value of the box-sizing property?

#4 margin:10px; is the same as

#5 Which CSS property cannot be used with pixel values?

#6 Which of the following is an invalid value of the background-position property?

#7 Which CSS property cannot be used with percentage values?

#8 Which of the following is an invalid value of the line-height property?

#9 padding:50px 20px; is the same as

#10 How to hide an overflow?

#11 How to remove underline from links?

#12 background-position:top; is the same as

#13 How to select ALL the p elements?

#14 How to clear float?

#15 Which of the following is an invalid CSS selector?

I am done

Your Result

-

Take the training quiz to improve your skills: https://css-challenges.com/basic-css-quiz/