360的CSS样式表能发个么 我不太会正在学 求大神指导 最好附带样式表附件 谢谢啦

html-css017

360的CSS样式表能发个么 我不太会正在学 求大神指导 最好附带样式表附件 谢谢啦,第1张

亲,360主页的样式表是直接写在html中的 没有单独的CSS文件!

以下是HTML中部分CSS样式:

@charset "gb2312"

/*common*/

html, body, div, h1, h2, h3, h4, h5, h6, ul, ol, li, dl, dt, dd, p, blockquote, pre, form, input, textarea, fieldset, table, th, td{margin:0padding:0}

body, button, input, select, textarea{font:12px/1.5 "微软雅黑", sans-serif}

body{background:url(http://p2.qhimg.com/t01796bde7698ed9f5d.png) repeat-x #fffcolor:#000}

ul, ol{list-style:none}

img{border:nonevertical-align:top}

:focus{outline:0}

/*float*/

.f-l{float:left}

.f-r{float:right}

.c-b{clear:both}

.clear{clear:bothheight:0font-size:0overflow:hidden}

.clearfix:after{content:"."display:blockheight:0clear:bothvisibility:hidden}

.clearfix{clear:bothzoom:1}

.v-a-m{vertical-align:middle}

/*font*/

h1{font-size:18px}

h2{font-size:16px}

h3{font-size:14px}

h4, h5, h6{font-size:100%}

.f-w-b{font-weight:bold}

.f-w-n{font-weight:normal}

.black{color:#000}

.red{color:#f00}

.gray{color:#999}

.t-a-l{text-align:left}

.t-a-c{text-align:center}

.t-a-r{text-align:right}

.t-d-u{text-decoration:underline}

.f-s-12{font-size:12px}

.f-s-14{font-size:14px}

/*link*/

a{color:#0092catext-decoration:none}

a:hover{text-decoration:underline}

/*table*/

table{border-collapse:collapseborder-spacing:0}

/*layout*/

.m-b-10{margin-bottom:10px}

.m-a{margin:0 auto}

.doc{background:url(http://p2.qhimg.com/t0190747860f190589a.gif) no-repeat 50% 60pxwidth:970pxmargin:0 auto}

/*header*/

.doc-hd{height:60px}

.logo{float:leftmargin:6px 0 0 13px}

/*footer*/

.doc-ft{color:#999border-top:1px solid #e8e8e8padding:12px 0text-align:center}

/*nav*/

.pri-nav{float:rightfont-size:13pxposition:relativemargin-top:16px}

.pri-nav li{float:left}

.pri-nav .arrow{width:69pxheight:31pxbackground:url(http://p4.qhimg.com/t01af7380076093a62f.png) no-repeatposition:absoluteleft:8pxtop:0z-index:9}

.pri-nav a{color:#444width:69pxheight:31pxline-height:28pxdisplay:blocktext-align:centerpadding:0 8pxposition:relativez-index:99}

.pri-nav a:hover{text-decoration:nonecolor:#fff}

.pri-nav .cur a{color:#fff}

/*更新日志*/

.update{background:url(http://w.qhimg.com/images/v2/site/weishi/0509/update.png) no-repeat 100% 100% #fffborder:1px solid #cddbe8margin-bottom:10pxpadding:35px 0 0 75px*zoom:1}

.update-1st{margin-top:30pxborder-color:rgba(26, 90, 150, 0.2)}

.update h2{height:46pxline-height:46pxborder-bottom:2px solid #d7d7d7margin:0 75px 20px 0padding-right:5px}

.update h2 .tit{height:46pxline-height:46pxfloat:leftcolor:#444font-weight:normalfont-size:22pxborder-bottom:2px solid #438bbdpadding:0 5px_position:relative_bottom:-2px}

.update h2 .date{float:rightcolor:#757575font-size:12pxfont-weight:normal}

.update li{min-height:30pxmargin-bottom:20pxfont-size:14px}

.update li .no{background:url(http://w.qhimg.com/images/v2/site/weishi/0509/no.png) no-repeatwidth:30pxheight:30pxdisplay:inline-blocktext-align:centerfont:normal 16px/30px arialmargin-right:10px}

.update .more{text-align:rightfont-size:14pxpadding:5px 10px 10px}

/*tips*/

.tip-1{width:935pxmin-height:85px_height:85pxmargin:0 auto 40pxbackground:#fef8efborder:1px solid #faecd3position:relative}

.tip-1 h2{font-size:20pxcolor:#eb6100font-weight:normalpadding:10px 0 5px 82px}

.tip-1 h2 a{color:#eb6100}

.tip-1 p{color:#434343padding-left:82px}

.tip-1 .more{width:97pxheight:30pxline-height:30pxbackground:url(http://w.qhimg.com/images/v2/site/weishi/0509/btn_1.png) no-repeatposition:absoluteleft:794pxtop:39pxtext-align:center}

.tip-1 .more:hover{text-decoration:none}

.tip-1 .new{width:82pxheight:82pxposition:absoluteleft:-2pxtop:-2px}

/*feature*/

.feature{width:936pxheight:339pxmargin:0 auto 40pxbackground:url(http://p8.qhimg.com/t010d24d102b76ef2f3.jpg) no-repeatposition:relative}

.feature li,

.feature a{width:193pxheight:339pxposition:absolutetop:0padding:0 20px}

.feature .item-1,

.feature .a1{left:1px}

.feature .item-2,

.feature .a2{left:235px}

.feature .item-3,

.feature .a3{left:469pxwidth:195px}

.feature .item-4,

.feature .a4{left:705pxwidth:190px}

.feature h3{font-size:20pxcolor:#0789d3font-weight:normalpadding:18px 0 5px_display:inline-block}

.feature p{color:#797979line-height:20px_display:inline-block}

.feature a:hover{background:#00a0e9

filter:alpha(opacity=10)-moz-opacity:0.1-khtml-opacity:0.1opacity:0.1}

/*首页轮播*/

#container{width:970pxheight:440pxmargin:0 autoposition:relativez-index:0}

#example{width:970pxheight:440pxposition:relative}

#slides{position:absolutetop:0left:0z-index:100}

.slides_container{width:970pxheight:420pxoverflow:hiddenposition:relativedisplay:none}

.slide{width:970pxheight:440pxdisplay:block}

.slide-1{background:url(http://p2.qhimg.com/t0103e742328ec1c95c.jpg) no-repeat 50% 0}

.slide-2{background:url(http://p4.qhimg.com/t014fd31eb3e1f028ca.jpg) no-repeat 50% 0}

.slide-3{background:url(http://p9.qhimg.com/t0146fbcdc588064c94.jpg) no-repeat 50% 0}

.slide-4{background:url(http://p0.qhimg.com/t01749f2b94ec291ca9.jpg) no-repeat 50% 0}

/*

.slide-5{background:url(http://w.qhimg.com/images/v2/site/weishi/0516/slide_5.jpg) no-repeat 50% 0}

.slide-6{background:url(http://w.qhimg.com/images/v2/site/weishi/0509/slide_6.jpg) no-repeat 50% 0}

*/

.slide .ver{position:absoluteleft:823pxtop:56pxfont-size:16pxfont-weight:boldcolor:#fff}

.slide h1{height:1pxoverflow:hidden}

.slide h2{font-size:20pxcolor:#fffpadding:102px 0 0 562px

text-shadow:0 0 3px rgba(4, 0, 0, .3)}

.slide h3{height:76pxcolor:#ffffont-weight:normalpadding:5px 100px 0 562pxline-height:22pxoverflow:hidden

text-shadow:1px 1px 50px rgba(4, 0, 0, .3)}

.slide .dl{margin:10px 0 0 556px}

.slide .p-1{margin:2px 0 0 562pxbackground:#fff}

.slide .p-1 a{background:url(http://w.qhimg.com/images/v2/site/weishi/0509/arr_1.gif) no-repeat 0 5pxpadding-left:10pxmargin-right:20px}

.slide ul{padding:0 0 0 562px}

.slide li{height:20pxcolor:#6e7479}

.slide .next,

.slide .prev{display:none}

.pagination{position:absoluteleft:215pxtop:365pxz-index:9}

.pagination li{float:leftmargin-right:12px}

.pagination li a{display:blockwidth:14pxheight:0padding-top:14pxbackground-image:url(http://p2.qhimg.com/t0116f179e18d27ddfc.png)background-position:0 0float:leftoverflow:hidden}

.pagination li.current a{background-position:0 -14px}

.loading{position:absoluteleft:405pxtop:126pxz-index:99999}

.loading h3{color:#ffffont-size:16pxfont-weight:normalpadding-bottom:8px}

.loading a{color:#00ffont-size:12pxtext-decoration:underline}

/*feature list*/

.f-list{border:1px solid #cddbe8border-color:rgba(26, 90, 150, 0.2)background:#fffmargin:48px 0 10px}

.f-list h2{width:438pxheight:80pxbackground:url(http://w.qhimg.com/images/v2/site/weishi/0509/f_list_tit.png) no-repeatline-height:200pxoverflow:hiddenposition:relativeleft:-23pxtop:18pxmargin-bottom:20px}

.f-list li{height:260pxbackground:url(http://w.qhimg.com/images/v2/site/weishi/0509/f_list_sep.png) no-repeat 50% 100%padding:50px 0*zoom:1}

.f-list .item-2{height:265px}

.f-list .item-3{height:235px}

.f-list .item-4{height:255px}

.f-list .item-5{height:250px}

.f-list .item-6{height:250px}

.f-list .item-1 .pic,

.f-list .item-3 .pic,

.f-list .item-5 .pic,

.f-list .item-7 .pic{float:left}

.f-list .item-2 .pic,

.f-list .item-4 .pic,

.f-list .item-6 .pic{float:right}

.f-list .item-1 .pic{margin:0 170px 0 100px}

.f-list .item-2 .pic{margin:0 140px 0 130px}

.f-list .item-3 .pic{margin:0 180px 0 130px}

.f-list .item-4 .pic{margin:0 120px 0 160px}

.f-list .item-5 .pic{margin:25px 30px 0 150px}

.f-list .item-6 .pic{margin:0 110px 0 170px}

.f-list .item-7 .pic{margin:25px 170px 0 150px}

.f-list .last{background:none}

.f-list .cont{overflow:hidden*zoom:1}

.f-list .item-1 .cont,

.f-list .item-3 .cont,

.f-list .item-5 .cont,

.f-list .item-7 .cont{padding-right:50px}

.f-list .item-2 .cont,

.f-list .item-4 .cont,

.f-list .item-6 .cont{padding-left:70px}

.f-list .item-2 .cont{padding-top:30px}

.f-list .item-3 .cont{padding-top:30px}

.f-list .item-4 .cont{padding-top:40px}

.f-list .item-5 .cont{padding-top:40px}

.f-list h3{font:normal 26px/50px "微软雅黑"color:#434343}

.f-list h3 span{font-size:22px}

.f-list h3 img{vertical-align:middle}

.f-list .item-6 h3,

.f-list .item-7 h3{line-height:32pxpadding-bottom:10px}

.f-list p{font:normal 14px/28px "微软雅黑"color:#797979}

《CSS3DIV网页样式与布局从入门到精通》百度网盘pdf最新全集下载:

链接: https://pan.baidu.com/s/1aBFLBnJ22Bv9jGXyM5rCKA

?pwd=7vgd 提取码: 7vgd

简介:全书分三大部分,共16章。第一部分主要介绍了CSS相关基础知识,包括CSS样式设计基础,使用CSS设置字体和文本样式、图片样式,控制背景图像,设计列表样式、表格样式、表单样式,定义链接样式,使用DIV+CSS布局网页,CSS定位与网页版式设计等;第二部分介绍了CSS新技术,包括使用CSS3布局网页和设计动画;第三部分为扩展应用部分,介绍了如何使用JavaScript控制 CSS样式、使用CSS设计XML文档样式、使用CSS设计移动页面等。