+ 2

Perspective problem

I made a code which generates a book which works actually; But when I implemented perspective to the pages and cover it doesn't works; Please help me with this; https://sololearn.com/compiler-playground/WYk8br0iGkiX/?ref=app

23rd Apr 2024, 12:41 PM
Captain Thunder ⚡
Captain Thunder ⚡ - avatar
1 Antwort
+ 1
In your code, the parent element that wraps around your book content is the <div> element with the class "book". This element contains both the cover and the pages of the book. You would apply the perspective property to the '.book' class to ensure that the 3D transformations are applied correctly to its child elements. You can find more details in CSS course > Chapter: Style Inheritance
24th Apr 2024, 8:08 PM
`ᴴᵗᵗየ
`ᴴᵗᵗየ - avatar