摘要:
以上CSS代码所管辖的区域对就关系:以上注释中的数字与下图中数字相对应。 上图正如如下所言: ::-webkit-scrollbar 滚动条整体部分,其中的属性有width,height,background,border(就和一个块级元素一样)等。 ::-webkit-scrollbar-butt 阅读全文
摘要:
@-moz-document url-prefix(http://),url-prefix(https://) { /* 滚动条颜色 */ scrollbar { -moz-appearance: none !important; background: rgb(0,255,0) !important; } ... 阅读全文
摘要:
经过不断的测试发现,在Win8 下面,有一部分样式都起着相同的作用。估计是因为在Win8中扁平化的界面设计而重新定议了系统中滚动条!以下是Win 8下面的滚动条样式,并写出了和CSS支持的情况: 以上所写的几个四个CSS属性,足以控制Win 8系统下,IE浏览器的滚动条样式了。但经过测试,发现,其它 阅读全文
摘要:
背景图撑开盒子高度 阅读全文
摘要:
var reg = new RegExp("[\u4E00-\u9FFF]+","g");if (reg.test(str)) { alert('chinese');} 阅读全文
摘要:
<!DOCTYPE html><html lang="en"> <head> <meta charset="UTF-8"> <title>Document</title></head><style type='text/css'>.circle { width: 200px; height: 200 阅读全文