mirror of
https://github.com/thangisme/notes.git
synced 2024-11-01 02:37:25 -04:00
48 lines
1.2 KiB
CSS
48 lines
1.2 KiB
CSS
/*
|
|
expect:
|
|
css-sel2: 16
|
|
css-sel3: 20
|
|
*/
|
|
|
|
|
|
/* level 2 */
|
|
* { color: #000000; }
|
|
div > div { color: #000000; }
|
|
div:first-child { color: #000000; }
|
|
a:link { color: #000000; }
|
|
a:visited { color: #000000; }
|
|
a:active { color: #000000; }
|
|
a:hover { color: #000000; }
|
|
a:focus { color: #000000; }
|
|
*:lang(en) { color: #000000; }
|
|
* + * { color: #000000; }
|
|
[href] { color: #000000; }
|
|
[href="http://doiuse.com"] { color: #000000; }
|
|
[class~="column"] { color: #000000; }
|
|
[lang|="en"] { color: #000000; }
|
|
.classname { color: #000000; }
|
|
#elementid { color: #000000; }
|
|
|
|
|
|
/* level 3 */
|
|
[href^="http"] { color: #000000; }
|
|
[href$=".com"] { color: #000000; }
|
|
[href *= "http"] { color: #000000; }
|
|
:root { color: #000000; }
|
|
div:nth-child(2n+1) { color: #000000; }
|
|
div:nth-last-child(2) { color: #000000; }
|
|
div:nth-of-type(2) { color: #000000; }
|
|
div:nth-last-of-type(2) { color: #000000; }
|
|
div:last-child { color: #000000; }
|
|
div:first-of-type { color: #000000; }
|
|
div:last-of-type { color: #000000; }
|
|
div:only-child { color: #000000; }
|
|
div:only-of-type { color: #000000; }
|
|
div:empty { color: #000000; }
|
|
a:target { color: #000000; }
|
|
button:enabled { color: #000000; }
|
|
button:disabled { color: #000000; }
|
|
option:checked { color: #000000; }
|
|
div:not(.active) { color: #000000; }
|
|
h1 ~ p { color: #000000; }
|