【CSS3】Advanced3:Universal, Child, and Adjacent Selectors
2014-04-15 22:19
525 查看
1.Universal selectors
eg:#target*{ }
2.Child selectors <
something immediately nested within something直接子女,不包括子孙
3.Adjacent Selector +
something immediately following something 直接跟在后面的第一个跟屁虫
CSS3:
eg:#target*{ }
2.Child selectors <
something immediately nested within something直接子女,不包括子孙
3.Adjacent Selector +
something immediately following something 直接跟在后面的第一个跟屁虫
CSS3:
h1 ~ p { font-weight: bold }will style all paragraphs after the top-level heading but if there were any
ps preceding the
h1, these would not be affected.
相关文章推荐
- [Node.js] Web Scraping with Pagination and Advanced Selectors
- [CSS3] Parent relative and child absoulte
- Advanced DBA certification guide and reference for DB2 universal database v8 for Linux, UNIX, and Wi
- CSS3中:nth-child和:nth-of-type的区别深入理解
- tar(child):bzip2:Cannot exec: No such file and directory
- 1MULTI-DIMENSIONAL SIGNAL PROCESSING AND CIRCUITS FOR ADVANCED ELECTRONICALLY SCANNED ANTENNA ARRAYS
- PAT(Advanced Level) 1006 - Sign In and Sign Out(水题)
- Codeforces Round #250 (Div. 2)C. The Child and Toy(贪心)
- CSS3的nth-child() 和nth-of-type()选择器,表格奇偶行变色
- 3MULTI-DIMENSIONAL SIGNAL PROCESSING AND CIRCUITS FOR ADVANCED ELECTRONICALLY SCANNED ANTENNA ARRAYS
- PAT (Advanced Level) Practise 1062 Talent and Virtue (25)
- Java(TM) Look and Feel Design Guidelines: Advanced Topics
- Avoid New MDI Child Resizing Animation (and Delay) in Delphi MDI Applications
- PAT (Advanced Level) Practise 1119 Pre- and Post-order Traversals (30)
- css3基础 :nth-child(3n+1) 简单示例
- 学习:Advanced SharePoint View and Filter techniques(转)
- 深入理解css3中nth-child和 nth-of-type的区别
- CF(438D) The Child and Sequence(线段树)
- 【CSS3】---结构性伪类选择器-first-child+last-child
- Advanced Collection Views and Building Custom Layouts