A beginner lesson on how the order of CSS rules decides which styles apply to an element. It is part of a free HTML and CSS course for people with no coding experience.
What you’ll learn
✓Explain why the order of CSS rules changes which styles apply
✓Predict which of two conflicting CSS rules takes effect
✓Apply the cascade when styling a simple HTML page