Style Cascade and Inheritance
The final appearance of a web page is a result of different styling rules.
The three main sources of style information that form a cascade are:
– The stylesheet created by the author of the page
– The browser’s default styles
– Styles specified by the user
Click Here : https://phpgurukul.com/style-cascade-and-inheritance/
Inheritance
Inheritance refers to the way properties flow through the page. A child element will usually take on the characteristics of the parent element unless otherwise defined.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
body {
color: green;
font-family: Arial;
}
This is a text inside the paragraph.
Latest Blog :
https://phpgurukul.com/what-is-css/
https://phpgurukul.com/types-of-css/
https://phpgurukul.com/css-selector/
https://phpgurukul.com/css-comment/
https://phpgurukul.com/style-cascade-and-inheritance/
PHP Gurukul
Welcome to PHPGurukul. We are a web development team striving our best to provide you with an unusual experience with PHP. Some technologies never fade, and PHP is one of them. From the time it has been introduced, the demand for PHP Projects and PHP developers is growing since 1994. We are here to make your PHP journey more exciting and useful.
Website : https://phpgurukul.com