height: 200px;
}
.wrapper figure:first-child {
transform: rotateY(60deg) translateZ(191px);
background: #3f51b5;
}
.wrapper figure:nth-child(2) {
transform: rotateY(120deg) translateZ(191px);
background: #8bc34a;
}
Now.wrapper figure:first-childbecomesthetopmostelement,asourrotateY
functionssuggestitshouldbeinFigure6.42.
268 CSS Master