属性选择器
字面意思就是根据标签中的属性,选中当前的标签。
语法:
1 /*根据属性查找*/ 2 /*[for]{ 3 color: red; 4 }*/ 5 6 /*找到for属性的等于username的元素 字体颜色设为红色*/ 7 /*[for='username']{ 8 color: yellow; 9 }*/ 10 11 /*以....开头 ^*/ 12 /*[for^='user']{ 13 color: #008000; 14 }*/ 15 16 /*以....结尾 $*/ 17 /*[for$='vvip']{ 18 color: red; 19 }*/ 20 21 /*包含某元素的标签*/ 22 /*[for*="vip"]{ 23 color: #00BFFF; 24 }*/ 25 26 /**/ 27 28 /*指定单词的属性*/ 29 label[for~='user1']{ 30 color: red; 31 } 32 33 input[type='text']{ 34 background: red; 35 }
基于Java的开源3D游戏引擎jMonkeyEngine
父线程,没有等子线程执行完就退出
sun.misc.BASE64Encoder找不到jar包的解决方法
perl (Ss+)+
安装,配置kafka
Uncaught Error: Error calling method on NPObject.
Caused by: org.apache.ibatis.ognl.OgnlException: source is null for getProperty(null, "list")
error='Cannot allocate memory'
大众点评CAT安装部署记录