0

perspective whay des'nt work

div.empty-div { position: relative; height: 200px; width: 200px; margin: 30px; padding: 10px; border: 1px solid black; perspective: 100px; -webkit-perspective: 100px; } div.green-div { padding: 60px; position: absolute; background-color: #8bc34a; border: 1px solid white; transform: rotateX(45deg); -webkit-transform: rotateX(45deg); }

1st Jan 2020, 8:31 AM
Hussein Adam
Hussein Adam - avatar
1 Respuesta
0
link the code
1st Jan 2020, 8:32 AM
bebaso
bebaso - avatar