You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
/* 列表页的秒杀模块 */ /* 解决盒子自动上去的问题 */ .nav{ overflow: hidden; } .sk{ position: absolute; left: 190px; top: 40px; border-left: 1px solid #c81523; padding: 3px 0 0 14px; } .sk_list{ float: left; } .sk_list ul li{ float: left;
} .sk_list ul li a{ display: block; font-size: 16px; font-weight: 700; color: #000; line-height: 47px; padding: 0 30px; } .sk_con{ float: left; } .sk_con ul li{ float: left; } .sk_con ul li a{ display: block; font-size: 14px; /* color: #000; */ line-height: 49px; padding: 0 20px; } .sk_con ul li:last-child a::after{ content: "\e91e"; font-family: "icomoon"; } .sk_bd ul li{ float: left; overflow: hidden; width: 290px; height: 460px; /* Li原先就有1像素的边框,所以为了避免鼠标经过图片上去,把这个边框写成透明颜色 */ border: 1px solid transparent; margin-right: 12px; } .sk_bd ul li:nth-child(4n){ margin-right: 0; } .sk_bd ul li:hover{ border: 1px solid #c81523; }
|