1.

Which of the following is used for adding perspective background images for each section?(a) .bg1(b) .parallax(c) .static(d) .sectionThe question was posed to me in final exam.Enquiry is from Sliding Doors & Clipped Sliding Doors in chapter Layout & Images of CSS

Answer»

Correct option is (a) .bg1

To explain: .bg1, .bg2 adds the RESPECTIVE background images for each SECTION, we can use IMG tag ALSO, .parallax adds an ::after pseudo-element with the background image and transforms needed for the parallax effect.



Discussion

No Comment Found

Related InterviewSolutions