<div class="dupian">
<img src="black.jpg" alt="" width="300" height="300" />
<img src="blue.jpg" alt="" width="300" height="300" />
<img src="red.jpg" alt="" width="300" height="300" />
</div>
为什么3张图片还是重叠在一起,没任何变化?
<img src="black.jpg" alt="" width="300" height="300" />
<img src="blue.jpg" alt="" width="300" height="300" />
<img src="red.jpg" alt="" width="300" height="300" />
</div>
为什么3张图片还是重叠在一起,没任何变化?
2015-07-15
.dupian img:first-child{
transform:rotate(5deg);
}
.dupian img:last-child{
transform:rotate(-5deg);
}
</style>
</head>
<body>
transform:rotate(5deg);
}
.dupian img:last-child{
transform:rotate(-5deg);
}
</style>
</head>
<body>
2015-07-15
.dupian{ width:400px; height:400px; margin:2rem auto;}
.dupian img{
position:absolute; border:20px solid #666; box-sizing:border-box; box-shadow:5px 5px 3px rgba(0,0,0,0.3); transform-origin:center center; transition:transform 1.0s ease;
}
.dupian img{
position:absolute; border:20px solid #666; box-sizing:border-box; box-shadow:5px 5px 3px rgba(0,0,0,0.3); transform-origin:center center; transition:transform 1.0s ease;
}
2015-07-15
老师讲的很好,这只是告诉我们有哪些效果,怎么运用如何掌握还是要靠自己的。觉得说的不好的同学,下载代码自己去看自己去做就好了。。。
2015-07-02