:not 选择器
来源:互联网 发布:linux网络书籍 编辑:程序博客网 时间:2024/06/05 23:40
:not(selector)选择器匹配非指定元素/选择器的每个元素。
非最后一个p标签设置颜色为红色。
<!DOCTYPE html><html><head><style> p:not(:last-child){background:#ff0000;}</style></head><body><h1>这是标题</h1><p>第一个段落。</p><p>第二个段落。</p><p>第三个段落。</p><p>第四个段落。</p><p>第五个段落。</p></body></html>
阅读全文
0 0
- :not 选择器
- .not(selector)选择器
- jquey的not 选择器
- jQuery :not()选择器
- css中 :not() 选择器的用法
- jquery not选择器(多条件)
- 结构性伪类选择器—not
- 【CSS3】结构性伪类选择器—not
- 结构性伪类选择器—not
- 否定伪类(:not) :empty选择器
- HTML5中CSS3的相邻选择器、兄弟选择器以及not选择器
- jQuery not过滤选择器在ie的bug
- 【CSS3】---结构性伪类选择器-root+not+empty+target
- CSS3伪类选择器之结构选择器root,not,empty,target
- CSS3中结构伪类选择器——root、not、empty、target选择器
- 选择器
- 选择器
- 选择器
- Js 数组去重
- ubuntu环境中nexus安装之后配置为系统的一个服务
- Battlestation Operational(hdu6134 莫比乌斯反演)
- 使用BlockingQueue实现生产者消费者模式
- FZU 2275 Game(KMP)
- :not 选择器
- 面对对象--回顾初识
- Java汉字转换成拼音利用pinyin4j的jar包实现
- HNUST 1747: 硬币翻转(简单博弈)
- springboot【25】定时任务@Scheduled
- spring 返回值类型是String
- HDU 2609 How many(最小表示法)
- 生成csv文件并下载
- BZOJ 2457: [BeiJing2011]双端队列 贪心