摘要: 定义ul li的 list-style 的时候,list-style跟文字内容有距离,需要通过margin-left来显示正常,并且IE6、IE7的间距比谷歌浏览器大,所以给li定如下样式ul li{list-style:decimal inside;} 阅读全文
posted @ 2016-01-18 14:50 那谁家的丫头 阅读(1250) 评论(0) 推荐(0) 编辑
摘要: 这个表示当前页面每5秒钟刷一下,刷一下~ 这个表示当前页面2秒后跳到首页~ 页面直接跳转到腾讯网~ 阅读全文
posted @ 2016-01-18 14:49 那谁家的丫头 阅读(1248) 评论(0) 推荐(0) 编辑
摘要: 方法一:天赐美妞.text-gradient { display: inline-block; color: green; font-size: 10em; font-family: '微软雅黑'; background-image: -webkit-gradien... 阅读全文
posted @ 2016-01-18 14:48 那谁家的丫头 阅读(164) 评论(0) 推荐(0) 编辑
摘要: p{ text-transform:uppercase;} 阅读全文
posted @ 2016-01-18 14:43 那谁家的丫头 阅读(187) 评论(0) 推荐(0) 编辑
摘要: 底部固定:.box{ _position:absolute; _bottom:auto; _margin-bottom:100px; _top:expression(eval(document.documentElement.scrollTop+document.documentElemen... 阅读全文
posted @ 2016-01-18 14:42 那谁家的丫头 阅读(81) 评论(0) 推荐(0) 编辑
摘要: ::selection{ background:#ff96ac;}::-moz-selection{ background:#ff96ac;}::-ms-selection{ background:#ff96ac;}::-o-selection{ background:#ff96ac;}::-web... 阅读全文
posted @ 2016-01-18 14:32 那谁家的丫头 阅读(100) 评论(0) 推荐(0) 编辑
摘要: p{-webkit-box-reflect:below 5px -webkit-gradient(linear,50% 0,50% 100%, color-stop(0,rgba(0,0,0,0)),color-stop(0.5,rgba(0,0,0,0.01)),color-stop(0.8,rg... 阅读全文
posted @ 2016-01-18 14:31 那谁家的丫头 阅读(100) 评论(0) 推荐(0) 编辑
摘要: filter:blur(add=false,strength=50,direction=0).blur {width:100%;position:absolute;bottom:0;overflow:hidden;filter: url(blur.svg#blur); /* FireFox, Chr... 阅读全文
posted @ 2016-01-18 14:25 那谁家的丫头 阅读(178) 评论(0) 推荐(0) 编辑
摘要: letter-spacing:2px;transform: scale(1,0.9); 阅读全文
posted @ 2016-01-18 14:24 那谁家的丫头 阅读(632) 评论(0) 推荐(0) 编辑
摘要: overflow:hidden; text-overflow:ellipsis; white-space: nowrap;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-b... 阅读全文
posted @ 2016-01-18 14:24 那谁家的丫头 阅读(239) 评论(0) 推荐(0) 编辑
摘要: /* 设置滚动条的样式 */::-webkit-scrollbar { width:6px; height:6px;}/* horizontal 水平方向滚动条两端按钮 */::-webkit-scrollbar-button:horizontal:decrement{ width:6px; hei... 阅读全文
posted @ 2016-01-18 14:23 那谁家的丫头 阅读(1062) 评论(0) 推荐(0) 编辑
摘要: h1{ counter-increment:mycounter; //若不加此段,则编号都是0}h1:before{ content:counter(mycounter); content:"第" counter(mycounter) "章"; //也可以加入中文... 阅读全文
posted @ 2016-01-18 14:17 那谁家的丫头 阅读(426) 评论(0) 推荐(0) 编辑
摘要: p{ word-wrap:break-word; word-break:break-all;}word-wrap用来控制换行。两种取值:(1)normal (2)break-word(此值用来强制换行,内容将在边界内换行,中文没有任何问题,英文语句也没问题。但是对于长串的英文,就不起作用。)wo... 阅读全文
posted @ 2016-01-18 14:12 那谁家的丫头 阅读(141) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2016-01-18 14:10 那谁家的丫头 阅读(91) 评论(0) 推荐(0) 编辑
摘要: .vert { width: 500px; height: 200px; position: absolute; top: 50%; left: 50%; margin-top: -100px; margin-left: -250px;}内容上下左右居中上边... 阅读全文
posted @ 2016-01-18 14:09 那谁家的丫头 阅读(146) 评论(0) 推荐(0) 编辑
摘要: lognH2O下划线增加删除原价:¥120结果为:,,,,,原价还有一种方法是,通过css来得到效果:text-decoration:line-through; 阅读全文
posted @ 2016-01-18 14:01 那谁家的丫头 阅读(415) 评论(0) 推荐(0) 编辑
摘要: min-height:600px; _height:expression(this.scrollHeight < 600 ? "600px" : "auto"); 阅读全文
posted @ 2016-01-18 13:42 那谁家的丫头 阅读(118) 评论(0) 推荐(0) 编辑
摘要: background: -moz-linear-gradient(top, rgba(0,0,0,0) 0%, rgba(0,0,0,0.9) 100%); background: -webkit-gradient(linear, left top, left bottom, color-stop(... 阅读全文
posted @ 2016-01-18 11:50 那谁家的丫头 阅读(3480) 评论(0) 推荐(0) 编辑
摘要: .bg{background:rgba(0,0,0,0.5);filter:progid:DXImageTransform.Microsoft.gradient(enabled="true",startcolorstr="#7F000000",endcolorstr="#7F000000");}rg... 阅读全文
posted @ 2016-01-18 11:44 那谁家的丫头 阅读(117) 评论(0) 推荐(0) 编辑
摘要: .page{ background:url(images/page2_bg.jpg) top center no-repeat; background-size:cover; filter:progid:DXImageTransform.Microsoft.AlphaIma... 阅读全文
posted @ 2016-01-18 11:41 那谁家的丫头 阅读(1691) 评论(0) 推荐(0) 编辑