Cascade and inheritance in CSS

1. Cascade

The short form of CSS is from Cascading Style Sheets and that first word is very important and needs to be understand.

Cascade means that the order of the properties matter. Let’s make an example:

h1 {
color: black;
}
h1 {
color: red;
}

--

--

--

Web developer who is enthusiast about new technologies and self-improvement. | https://linktr.ee/anghelm

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Analyzing iMessage with SQL

Analyzing iMessage with SQL

Runge-Kutta Numerical Integration of Ordinary Differential Equations in Python

Incorporate Multi User Kiosks for your Business — Part 2

8 Developer Conferences to Consider for your 2018 Calendar

#WirVsVirus Hackathon — S.W.A.G.

Spek: Details on a Specification Framework

What Are the Top Reasons for SMEs and Startups to Use Cloud Computing?

Sprint notes #17

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Anghel Marius

Anghel Marius

Web developer who is enthusiast about new technologies and self-improvement. | https://linktr.ee/anghelm

More from Medium

Is it Worth Learning Web Development in 2022

Epic of beginner developer

EmojiScript: A Quick Guide to Emojis in JavaScript