Wiki-Artikel „Kaskade“ / Spezifität von "style="
bearbeitet von Michael Sy.>>> Unter der Überschrift "Selector Specificity Weights" wird !important als erster Punkt aufgeführt. Eindeutiger geht's nicht.
>> “Any property declaration with the term !important takes highest precendence” (Hervorhebung von mir)
> Precendence heißt nicht Spezifität.
Gut ok, nach der Logik gehört dann also style=”” auch nicht zur Spezifität!:
"style=””: If the author includes style attribute on an element, the inline style will take **precedence** over any styles [...]"
Mit starrköpfigem Gruß 😉 - Michael Sy.