what is inherit in css code example
Example 1: inherit css
span {
color: blue;
}
.extra span {
color: inherit;
}
Example 2: css inherit class
.rounded_corners {
-moz-border-radius: 8px;
-webkit-border-radius: 8px;
border-radius: 8px;
}
#header {
.rounded_corners;
}
#footer {
.rounded_corners;
}