组合选择器之多元素选择器
来源:互联网 发布:华云数据待遇如何知乎 编辑:程序博客网 时间:2024/06/15 23:03
多个标签或选择器同时声明
如:h1,h2,ul,li{margin:0;padding:0;}
定义的方法注意思:
如:h1,h2,ul,li{margin:0;padding:0;}
定义的方法注意思:
选择器之间用逗号隔开。
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"> <head> <title> style</title> <meta http-equiv="Content-Type" content="text/html;charset=UTF-8" /> <meta name="author" content="" /> <meta name="keywords" content="" /> <meta name="description" content="" /><style type="text/css">h1,h2,h3,h4,p{ font-size:16px;font-weight:normal;}</style> </head> <body><h1>无所不知所不能东方彧卿</h1><h2>无所不知所不能东方彧卿</h2><h3>无所不知所不能东方彧卿</h3><h4>无所不知所不能东方彧卿</h4><p>东方彧卿东方彧卿东方彧卿东方彧卿东方彧卿东方彧卿东方彧卿东方彧卿</p> </body></html>
阅读全文
0 0
- 组合选择器之多元素选择器
- (2)选择器:class选择器、id选择器、关联选择器、组合选择器、伪元素选择器
- 关联选择器和组合选择器,伪元素选择器
- css各种选择器,元素标签选择器,类选择器,id选择器,选择器的组合
- 元素选择器(+ ~)
- CSS选择器之【组合选择器】
- css组合选择器、伪选择器
- 子元素选择器、属性选择器、表单选择器
- 通配符选择器子元素选择器后代选择器
- jQuery 的选择器 元素选择器
- CSS 7.1 选择器-元素选择器
- jQuery选择器之元素选择器
- jQuery选择器之元素选择器
- jQuery选择器之元素选择器
- CSS—组合选择器
- jQuery 组合选择器
- 选择器的组合使用
- css-组合选择器
- memcached
- NPM
- Fiddler:如何读取本地文件修改Request参数
- Bazel的入门
- Spring MVC DispatcherServlet详解
- 组合选择器之多元素选择器
- 09 uboot的配置编译主过程分析
- Python中的sorted函数以及operator.itemgetter函数
- Minimum Moves to Equal Array Elements
- 1621
- 逻辑地址转换为物理地址
- bi cube
- Spring AOP之概念
- C++中const用法