Cascading?


#1



Replace this line with your code.


#2

what does cascading mean?


#3

simple, cascading means in logical steps (stepwise), this are the steps:
1. The browser's default styles for the markup language.
2. Styles specified by a user who is reading the document.
3. The styles linked to the document by its author. These can be specified in three places

source: MDN. so, it simple means: logic steps taken by the browser to render all the style


#4

i didnt understood it can you please tell me in a simple language ?


#5

browsers already have a default stylesheet (thankfully), cascading simple means stepwise (first the browser default stylesheet, then your stylesheet)

In even css everything goes in order:

p { color: red; }
p { color: blue; }

now your paragraphs are blue, last definition counts. Everything is stepwise