下面是内存溢出 jb51.cc 通过网络收集整理的代码片段。
内存溢出小编现在分享给大家,也给大家做个参考。
<!DOCTYPE HTML><HTML lang="en-US"><head> <Meta charset="UTF-8"> <Title>CSS3重构百度图片首页中图片展示效果|w3cplus</Title> <Meta name="keywords" content="CSS3学习,CSS3属性详解,CSS3 Transition,如何学好CSS3"> <Meta name="description" content="W3CPLUS是一个前端爱好者的家园,W3CPLUS努力打造最优秀的web 前端学习的站点。W3CPLUS力求原创,以一起学习,一起进步,共同分享为原则。W3CPLUS站提供了有关于CSS,CSS3,HTML,HTML5,jquery,手机移动端的技术文档、DEMO、资源,与前端爱好者一起共勉。"> <link rel="shortcut icon" href="http://www.w3cplus.com/sites/all/themes/marvin/favicon.ico"> <link rel="stylesheet" type="text/CSS" href="http://www.w3cplus.com/demo/CSS3/base.CSS" media="all" /> <link rel="stylesheet" type="text/CSS" href="CSS/style.CSS" media="all"> <style type="text/CSS">body{ background:none repeat scroll 0 0 #fff; Font:12px arial; text-align:center; position:relative}body,p,form,ul{ margin:0; padding:0}img{ border:0}td,div{ Font-size:12px}p{ wIDth:600px; margin:0; padding:0;}a{ color:#00c}a:active{ color:#f60}/*图片效果*/#index_Tags{ wIDth:625px; position:relative; left:5px; margin:30px auto 15px auto; Font-size:0;}#index_Tags a{ display:inline-block; wIDth:115px; height:115px; margin:0 10px 10px 0; position:relative; text-decoration:none; text-align: center;}#index_Tags a img{ position:absolute; left:0; top:0; background:#fff; wIDth:115px; height:115px}#index_Tags a p{ position:absolute; wIDth:100%; bottom:0; left:0; border-top:1px solID #222; height:22px; line-height:22px; color:#fff; filter:progID:DXImagetransform.Microsoft.gradIEnt(enabled='true',startcolorstr='#99333333',endcolorstr='#99333333'); background:rgba(51,51,0.6); cursor:pointer}#index_Tags a:before,#index_Tags a:after { content:""; display: block; wIDth: 116px; height: 116px; left:-5px; top:-5px; border: 4px solID #fff; background:#666; visibility:hIDden; -webkit-background-clip: padding-Box; -moz-background-clip: padding-Box; -o-background-clip: padding-Box; -ms-background-clip: padding-Box; background-clip: padding-Box; Box-shadow: 0 0 1px #aaa,0 0 2px #aaa; -webkit-Transition:-webkit-transform 0s ease-in; -moz-Transition:-moz-transform 0s ease-in; -o-Transition:-o-transform 0s ease-in; Transition:transform 0s ease-in; position:absolute;}#index_Tags a:link,#index_Tags a:visited{ text-decoration:none}#index_Tags a:hover{ zoom:1; z-index:20; text-decoration:underline position:relative;}#index_Tags a:hover:before,#index_Tags a:hover:after{ visibility:visible;}#index_Tags a:hover:before{ -webkit-transform:rotate(8deg) translate(6px,-1px); -moz-transform:rotate(8deg) translate(6px,-1px); -o-transform:rotate(8deg) translate(6px,-1px); -ms-transform:rotate(8deg) translate(6px,-1px); transform:rotate(8deg) translate(6px,-1px); z-index:2;}#index_Tags a:hover:after{ -webkit-transform:rotate(-8deg) translate(-5px,1px); -moz-transform:rotate(-8deg) translate(-5px,1px); -o-transform:rotate(-8deg) translate(-5px,1px); -ms-transform:rotate(-8deg) translate(-5px,1px); transform:rotate(-8deg) translate(-5px,1px); z-index:1;}#index_Tags a:hover img{ left:-5px; top:-5px; padding:4px; border:1px solID #aaa; -moz-Box-shadow:1px 1px 3px #888; -webkit-Box-shadow:1px 1px 3px #888; Box-shadow:1px 1px 3px #888; z-index:3;}#index_Tags a:hover p{ text-decoration:underline; z-index: 4;} </style></head><body><div > <nav ID="top_nav"> <ul > <li><a href="http://www.w3cplus.com" target="_blank">w3cplus</a></li> <li><a href="http://www.w3cplus.com/resources/CSS3-tutorial-and-case" target="_blank">CSS3详解教程</a></li> <li><a href="http://www.w3cplus.com/demos/List.HTML" target="_blank">CSS3实例</a></li> <li><a href="http://www.w3cplus.com/demo/Tags/242.HTML" target="_blank">藤藤每日一练</a></li> </ul> <a ID="read" href="http://www.w3cplus.com/demo/image-baIDu.HTML" target="_blank">查看原文>></a> </nav></div><div > <header ID="header"> <hgrounp > <h1>CSS3重构百度图片首页中图片展示效果</h1> <h2>作者:大漠(如有更好建议或疑问请加群:1041263)<h2> </hgrounp> </header> <section > <div ID="index_Tags"> <a href="#"> <img wIDth="115" height="115" src="http://List.image.baIDu.com/t/image/w_meinv.jpg"> <p>美女</p> </a> <a href="#"> <img wIDth="115" height="115" src="http://List.image.baIDu.com/t/image/w_quweigaoxiao.jpg"> <p>趣味搞笑</p> </a> <a href="#"> <img wIDth="115" height="115" src="http://List.image.baIDu.com/t/image/w_mengchong.jpg"> <p>萌宠</p> </a> <a href="#"> <img wIDth="115" height="115" src="http://List.image.baIDu.com/t/image/w_sheying.jpg"> <p>摄影</p> </a> <a href="#"> <img wIDth="115" height="115" src="http://List.image.baIDu.com/t/image/w_lvyoufengjing.jpg"> <p>旅游风景</p> </a> <a href="#"> <img wIDth="115" height="115" src="http://List.image.baIDu.com/t/image/w_meishi.jpg"> <p>美食</p> </a> <a href="#"> <img wIDth="115" height="115" src="http://List.image.baIDu.com/t/image/w_fushIDapei.jpg"> <p>服饰搭配</p> </a> <a href="#"> <img wIDth="115" height="115" src="http://List.image.baIDu.com/t/image/w_jiajuzhuangshi.jpg"> <p>家居装饰</p> </a> <a href="#"> <img wIDth="115" height="115" src="http://List.image.baIDu.com/t/image/w_chuangyisheji.jpg"> <p>创意设计</p> </a> <a href="#"> <img wIDth="115" height="115" src="http://List.image.baIDu.com/t/image/w_dongmanyouxi.jpg"> <p>动漫游戏</p> </a> </div> </section></div></body></HTML>
以上是内存溢出(jb51.cc)为你收集整理的全部代码内容,希望文章能够帮你解决所遇到的程序开发问题。
如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。
总结以上是内存溢出为你收集整理的CSS3重构百度图片首页中图片展示效果全部内容,希望文章能够帮你解决CSS3重构百度图片首页中图片展示效果所遇到的程序开发问题。
如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)