洪发

Generation

css from descriptionThu, 09 Feb 2023

<div class="poster"> <img src="http://ag.yudvool.cn/uploads/images/20230101/ff4c58e43f226f1254cf40a7f1d9ce8e.png"> </div> 美化

.poster { width: 500px; height: 500px; border: 1px solid #ccc; overflow: hidden; margin: 50px auto; position: relative; } .poster img { width: 100%; height: 100%; position: absolute; left: 0; top: 0; transition: all .5s ease; } .poster img:nth-child(2) { transform: scale(1.5); } .poster img:nth-child(3) { transform: rotateY(180deg) scale(1.5); } .poster img:nth-child(4) { transform: rotateY(90deg) scale(1.5); } .poster img:nth-child(5) { transform: rotateY(270deg) scale(1.5); } .poster img:nth-child(6)

Questions about programming?Chat with your personal AI assistant