摘要: /* 设置滚动条的样式 */::-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) 编辑