CSS

From Bitpost wiki
Revision as of 17:20, 24 June 2022 by M (talk | contribs) (Created page with " →‎class="first second": .first.second {} →‎class="first" OR class="second": .first, .second {} /* class="first second", or class="second", or class="third secon...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
/* class="first second" */
.first.second {}

/* class="first" OR class="second" */
.first, .second {}

/* class="first second", or class="second", or class="third second", or class="second third" */
.second {}

/* apply to any .child at any depth under .parent */
.parent .child {}

/* apply to .child if it is DIRECTLY under .parent */
.parent > .child {}