blockquote标签定义块引用。blockquote与 /blockquote 之间的所有文本都会从常规文本中分离出来,经常会在左、右两边进行缩进(增加外边距),而且有时会使用斜体。也就是说,块引用拥有它们自己的空间。
<!DOCTYPEHTML>
<html>
<head>
<meta charset="utf-8">
<title>永不停止的风车</title>
<style type="text/css">
.box {
width:100px;
padding:100px;
-webkit-box-reflect: right 10px;
background:-webkit-gradient(radial,165 172,5,165 172 ,100, from(red),to(white));
}
.pinwheel {
width:140px;
height:140px;
-webkit-transform-origin:65px 72px;
-webkit-animation-name:keyname;
-webkit-animation-duration:2s;
-webkit-animation-iteration-count:infinite;
-webkit-animation-timing-function:linear;
}
.pinwheel span {
width:100px;
height:50px;
display:block;
opacity:0.6;
position:relative;
border-radius:25px;
}
.pinwheel .one {
background-color:#f00;
-webkit-transform:skew(30deg);
top:48px;
left:38px;
}
.pinwheel .tow {
background-color:#00f;
-webkit-transform: rotate(120deg) skew(30deg);
top:18px;
left:5px;
}
.pinwheel .three {
background-color:#060;
-webkit-transform: rotate(240deg) skew(30deg);
top:-72px;
left:5px;
}
.pinwheel .point {
position:relative;
top:-90px;
left:45px;
}
.tree {
position:relative;
top:-78px;
left:60px;
border-radius:10px 10px 0 0;
height:200px;
width:10px;
background-color:#999;
background:-webkit-gradient(linear, left top, right top, from(#ffcc00), to(#cc0033));
z-index:-1;
}
.tree img {
width:10px;
}
@-webkit-keyframes keyname {
from {
-webkit-transform:rotate(0);
}
to {
-webkit-transform:rotate(360deg);
}
}
</style>
</head>
<body>
<div class="box">
<div class="pinwheel"> <span class="one"></span><span class="tow"></span><span class="three"></span></div>
<div class="tree"><img src="images/point.png" /></div>
</div>
</body>
</html>
转载请注明原文地址:https://ipadbbs.8miu.com/read-48096.html