Write CSS style h1 nested inside the h2, so h1 and h2 storage there is no inheritance? How to calculate the weights of the style? Such as the following code:
<meta charset="UTF-8">
<meta name="viewport" content="width=device - width, initial - scale=1.0" & gt;
CSS weight stack & lt;/title>
<style>
The h2 {
Color: blue;
}
H1 h2 {
Color: yellow;
}
</style>
<body>
H1
H1, h2