File: chained1.css

package info (click to toggle)
liborcus 0.11.2-3
  • links: PTS
  • area: main
  • in suites: stretch
  • size: 7,320 kB
  • ctags: 4,984
  • sloc: cpp: 30,937; sh: 11,782; makefile: 1,168; xml: 498; python: 431
file content (15 lines) | stat: -rw-r--r-- 186 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/* descendant selector */
div p {
    background-color: yellow;
}

/* direct child */
div > p {
    background-color: blue;
}

/* next sibling */
div + p {
    background-color: red;
}