Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

4
  • 14
    That diagram needs a special mindset. For me it is way more difficult to understand that diagram than style inheritance itself. Commented Dec 16, 2019 at 7:30
  • 3
    What does "left to right" and "top to bottom" ordering mean? Actually, later rules take precedence over earlier rules with the same specificity. So shouldn't it be bottom (highest) to top (lowest), since bottom takes precedence over top?
    – AlexPi
    Commented Feb 7, 2022 at 1:02
  • Why there are 2 "inline" items (inline attribute & inline style) in the graph? What do they refer to? What are the differences?
    – Grace
    Commented Nov 11, 2022 at 4:30
  • @Grace Inline attributes refer to HTML styling attributes except style. (e.g. height) In the diagram, the example code is below the explanation for inline attributes, not above. That confused me as well. Commented Jun 5 at 8:21