parent
2596aacb47
commit
3bdbe32e75
@ -0,0 +1,26 @@ |
|||||||
|
<!DOCTYPE html> |
||||||
|
<html> |
||||||
|
<head> |
||||||
|
<meta charset="utf-8"/> |
||||||
|
<meta name="viewport" content="width=device-width"/> |
||||||
|
<title>CSS Inheritance Example</title> |
||||||
|
<style> |
||||||
|
body { |
||||||
|
background-color: lightslategray; |
||||||
|
color: whitesmoke; |
||||||
|
font-size: 35px; |
||||||
|
} |
||||||
|
|
||||||
|
div { |
||||||
|
background-color: orange; |
||||||
|
margin: 50px; |
||||||
|
padding: 100px; |
||||||
|
width: 300px; |
||||||
|
} |
||||||
|
</style> |
||||||
|
</head> |
||||||
|
<body> |
||||||
|
<h2>CSS Inheritance</h2> |
||||||
|
<div>Example</div> |
||||||
|
</body> |
||||||
|
</html> |
Loading…
Reference in new issue