Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <table class="box">
- <tr>
- <th>Header</th>
- </tr>
- </table>
- .box th {
- // find any element with .box
- // then find th
- }
- th.box {
- // find any th with .box
- }
- table.box tr th {
- // find any tble with .box
- // then find tr
- // then find th
- }
- table#foo tr.baz th.bonk {
- // find table with id foo
- // then find tr with .baz
- // then find th with .bonk
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement