Please enable JavaScript.
Coggle requires JavaScript to display documents.
CSS - Coggle Diagram
CSS
Advanced CSS
Transition
Animations
Transforms
Responsive Design
Gradients
Selectors
Primary
ID Selectors
Class Selectors
Type Selectors
Secondary
(Based on the Behavior)
Attribute Selectors
(
=
,
^=
,
$=
,
*=
,
|=
,
~=
)
attribute = "val"
Pseudo Class Selectors
Target (
:target
)
The UI element State
i)
:enabled
ii)
:disabled
iii)
:read-only
iv)
:checked
Dynamic
i)
:link
ii)
:visited
iii)
:hover
iv)
:active
v)
:focus
The UI element Validation State
i)
:valid
ii)
:invalid
iii)
:required
iv)
:optional
v)
:in-range
vi)
:out-of-range
Combinator / Rational Selectors
(
space
,
>
,
+
~
)
Descendant Selectors ( space )
Child Selector ( > )
Adjacent Sibling (+)
General Sibling ( ~)
Structural Pseudo Selectors
i)
:first-child
ii)
:last-child
iii)
:nth-child(number)
iv)
:nth-of-type(occurrence, n)
v)
:nth-last-of-type(n)
vi)
:nth-last-child(n)
vii)
:root
viii)
:empty
Pseudo-element Selectors
i)
::first-line
ii)
::first-letter
iii)
::before
iv)
::after
Other Selectors
Language Selector -
:lang()
Negation Selector -
:not()
Universal Selector - *
Basics
Common Properties
CSS Units
Other Concepts
Box Model
Cascade and Inheritance