javascript - 利用思否猫素材实现一个丝滑的轮播图(html + css + js)_个人文章 - SegmentFault 思否
使用思否猫素材实现一个轮播图本文参与了1024程序员节,欢迎正在阅读的你也加入。通过本文,你将学到:htmlcssjs没错,就是html,css,js,现在是框架盛行的时代,所以很少会有人在意原生三件
顺晟科技
2021-08-12 11:30:46
205
<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8" />
		<title>图片循环旋转</title>
		<style>
			*{margin: 0; padding: 0;}
			
			.ta_c{text-align: center;
				 margin-top: 100px;}
			
			@-webkit-keyframes rotation{
				from {-webkit-transform: rotate(0deg);}
				to {-webkit-transform: rotate(360deg);}
			}
			.Rotation{
				-webkit-transform: rotate(360deg);
				animation: rotation 3s linear infinite;
				-moz-animation: rotation 3s linear infinite;
				-webkit-animation: rotation 3s linear infinite;
				-o-animation: rotation 3s linear infinite;
			}
			
			.img{border-radius: 250px;}
			
		</style>
	</head>
	<body>
		
		<div class="ta_c">
			<img class="Rotation img" src="img/01.png" width="500" height="500"/>
		</div>
		
	</body>
</html>
22
2022-10
19
2022-10
19
2022-10
19
2022-10
19
2022-10
22
2022-09