body {
padding: 20px;
font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
}
ul, li {
list-style:none;
}
.product {
width: 376px;
padding: 15px;
position: relative;
float: left;
}
.product > img {
display: block;
position: relative;
cursor:pointer;
}
.product:hover .product-hover, .product:active .product-hover {
opacity: 1;
}
.product-hover {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
opacity: 0;
-webkit-transition: opacity 0.3s ease;
-moz-transition: opacity 0.3s ease;
transition: opacity 0.3s ease;
background-size: 30px 30px;
background-image: -webkit-linear-gradient(45deg, rgba(234, 176, 176, 1) 25%, transparent 25%, transparent 50%, rgba(234, 176, 176, 1) 50%, rgba(234, 176, 176, 1) 75%, transparent 75%, transparent);
background-image: -moz-linear-gradient(45deg, rgba(234, 176, 176, 1) 25%, transparent 25%, transparent 50%, rgba(234, 176, 176, 1) 50%, rgba(234, 176, 176, 1) 75%, transparent 75%, transparent);
background-image: linear-gradient(45deg, rgba(234, 176, 176, 1) 25%, transparent 25%, transparent 50%, rgba(234, 176, 176, 1) 50%, rgba(234, 176, 176, 1) 75%, transparent 75%, transparent);
-webkit-animation: barberpole 0.5s linear infinite;
-moz-animation: barberpole 0.5s linear infinite;
animation: barberpole 0.5s linear infinite;
}
@-webkit-keyframes barberpole {
from {
background-position: 0 0;
}
to {
background-position: 60px 30px;
}
}
@-moz-keyframes barberpole {
from {
background-position: 0 0;
}
to {
background-position: 60px 30px;
}
}
@keyframes barberpole {
from {
background-position: 0 0;
}
to {
background-position: 60px 30px;
}
}
.main {
margin:10px auto;
text-align:center;
overflow:hidden;
}
XHTMT|
HTML5|
CSS|
HTML DOM|
jQuery|
JSON|
AJAX|
LESS|
HTML|
Bootstrap|
Foundation|
AngularJS|
Ember.js|
TypeScript|
AngularJS2|
React|
jQuery UI|
jQuery EasyUI|
Node.js|
Highcharts|
Echarts|
Vue.js|
CoffeeScript|
Ext.js|
Meteor|
SASS|
Omi|
Markdown|
前端开发规范|
浏览器|
webpack|
JavaScript|
CSS3|
用户登录
还没有账号?立即注册
用户注册
投稿取消
| 文章分类: |
|
还能输入300字
上传中....
枪杆子出真权