87,997
社区成员




<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="Content-Style-Type" content="text/css" />
<title>1px border </title>
<style type="text/css">
html,body{height:100%;padding:180px}
</style>
<script src="jquery-1.8.2.min.js" type="text/javascript"></script>
</head>
<body>
<div>测试的内容啊</div>
<div>测试的内容啊</div>
<div>测试的内容啊</div>
<div>测试的内容啊</div>
<div>测试的内容啊</div>
<div>测试的内容啊</div>
<div>测试的内容啊</div>
<div>测试的内容啊</div>
<div>测试的内容啊</div>
<div>测试的内容啊</div>
<div>测试的内容啊</div>
<div>测试的内容啊</div>
<div>测试的内容啊</div>
<div>测试的内容啊</div>
<div>测试的内容啊</div>
<div>测试的内容啊</div>
<div>测试的内容啊</div>
<script type="text/javascript">
$(document).ready(function () {
$("div").each(function (index) {
$(this).css("transform", "rotate(" + (index*10) + "deg)");
})
})
</script>
</body>
</html>
transform: rotate(180deg);
transition: transform 2s ease 0s;