Home  >  Article  >  Web Front-end  >  Although I downloaded some focus map codes from the Internet to study, I still don’t understand them well. Can any experts give me some formulas? _html/css_WEB-ITnose

Although I downloaded some focus map codes from the Internet to study, I still don’t understand them well. Can any experts give me some formulas? _html/css_WEB-ITnose

WBOY
WBOYOriginal
2016-06-24 12:12:05962browse





{title}_懒人图库











jQuery淘宝商城多格焦点图效果






  • 懒人图库


    懒人图库

    懒人图库

    懒人图库




  • 懒人图库




  • 懒人图库


    懒人图库

    懒人图库

    懒人图库




  • 懒人图库

    懒人图库

    懒人图库

    懒人图库





  • 懒人图库






说明:

来源:淘宝商城  代码整理:54173BLOG  首发:懒人图库

*尊重他人劳动成果,转载请自觉注明出处!注:此代码仅供学习交流,请勿用于商业用途。

{download}

{content}

{google_729x90}






I downloaded this code online and can only understand the following parts of , Although some of the above have comments and are very clear, but what I know more is, how to understand these codes? Or should I just memorize it by rote?


Reply to discussion (solution)

style type="text/css">
* {margin:0; padding:0; }
body {font-size:12px; color:#222; font-family:Verdana,Arial,Helvetica,sans-serif; background:#f0f0f0;}
.clearfix:after {content: "." ; display: block; height: 0; clear: both; visibility: hidden;}
.clearfix {zoom:1;}
ul,li {list-style:none;}
img {border: 0;}

.wrapper {width:600px; margin:0 auto; padding-bottom:50px;}
.ad {width:468px; margin:10px auto 0;}
.ad li {padding-top:5px;}

h1 {height:50px; line-height:50px; font-size:22px; font-weight:normal; font-family:"Microsoft YaHei",SimHei; }

.shuoming {margin-top:20px; border:1px solid #ccc; padding-bottom:10px;}
.shuoming dt {height:30px; line-height:30px; font-weight :bold; text-indent:10px;}
.shuoming dd {line-height:20px; padding:5px 20px;}

.wrapper {width:780px;}
/* tmall focus */
#focus {width:780px; height:380px; overflow:hidden; position:relative;}
#focus ul {height:380px; position:absolute;}
#focus ul li {float :left; width:780px; height:380px; overflow:hidden; position:relative; background:#000;}
#focus ul li div {position:absolute; overflow:hidden;}
#focus .btnBg {position:absolute; width:780px; height:40px; left:0; bottom:0; background:#000;}
#focus .btn {position:absolute; width:770px; height:24px; left:0 ; bottom:8px; padding-left:10px;}
#focus .btn span {display:inline-block; _display:inline; _zoom:1; width:24px; height:24px; line-height:24px; text -align:center; font-size:20px; font-family:"Microsoft YaHei",SimHei; margin-right:10px; cursor:pointer; color:#fff;}
#focus .btn span.on {background :#000; color:#fcc;}