Please enable JavaScript.
Coggle requires JavaScript to display documents.
SELECTORS (more (a * b (regardless (of, parents), univesal), a > b…
SELECTORS
more
span[title] { }
span[title="first idea"]
a[href^="email"] { }
^=
begins
with
span[title$="idea"] { }
$=
ends
with
a * b
univesal
regardless
of
parents
a > b
direct
child
a + b
sibling
immediatelly
following
a ~ b
sibling
preceded
level 3
p:first-letter
select
first
letter
article:before { content: '
**
'}
inserting
content
article :after { content: url(' ');}
p:first-of-type {}
li:first-child{ }
li:last-child
li:nth-of-type(3){ }
select
every
third
among
siblings
inheritance
parent
child
controlling
inherit
none
normal
auto
!important
wins
over
all
value
examples
id
one
class
.
<div class="class1 class2 class3">
many
elements
tags
h1
css-properties
font-family
color
margin
a
a:visited
a:link
text-decoration
none
underline
a:hover
attaches
style
to
1
or
more
HTML
elements
order
of
precedence
combining
span.important{ }
h1, h2, span.important { }
order
precedence
user
inline
media
!important
...
browser default
order in doc