首页 >web前端 >html教程 >漏洞百出的模仿_html/css_WEB-ITnose

漏洞百出的模仿_html/css_WEB-ITnose

WBOY
WBOY原创
2016-06-24 11:18:53991浏览

<!DOCTYPE HTML><html><head><meta charset="UTF-8"><style type="text/css">body{    margin:0;padding:0;    }#content,img,.bg,a{    width: 122px;    height: 92px;    text-align: center;    }img{position:absolute;z-index:-1;left:0px;}.bg{transition: all .3s ease-out;}a{text-decoration:none;      display: inline-block;    color: #fff;    width: 63px;    height: 18px;    font-size: 12px;    line-height: 16px;    background-color: red;    border-radius: 9px;    }.bg{background-color:#fff;opacity:0;}span{color:#fff;line-height: 60px;height: 60px;}.bg:hover{background-color:black;opacity:0.6;}</style></head><div id="content"><img  class="img"src="http://img3.duitang.com/uploads/item/201402/19/20140219214112_VHNVS.jpeg" alt="漏洞百出的模仿_html/css_WEB-ITnose" ><div class="bg"><div class="coupon">                  <span>关注人数 12.1万</span>        </div><div class="enter">          <a href="#">点击进入</a>        </div></div></div></body></html>

效果:   

声明:
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系admin@php.cn