CSS Shadows & Outlines Interview Questions – CSS Shadows & Outlines Online Quiz

Question 1:  Which CSS property is used to add a shadow to an element’s text?

Question 2:  What is the correct syntax for applying a text shadow in CSS?

Question 3:  The box-shadow property is used to apply shadows to which element?

Question 4:  What does the first value in the box-shadow property represent?

Question 5:  Which of the following is an invalid value for the CSS property box-shadow?

Question 6:  How can you apply an inner shadow using the box-shadow property?

Question 7:  What is the purpose of the outline property in CSS?

Question 8:  Which property is used to change the width of an outline?

Question 9:  How is an outline different from a border in CSS?

Question 10:  Which of the following is a valid way to apply an outline to an element?

Leave a Reply