Overridden CSS Rule

Later CSS rules can override earlier ones if they target the same element.

Preview

Code

<style>
p{
color:red;
}

p{
color:#2563eb;
}
</style>

<p>The second rule overrides the first one.</p>

More CSS Errors Examples (5)