I recently posted a question about CSS inheritance for the property color
(Immediate children css, and only those).
This CSS
.parent > div {
color: green;
display: inline-block;
}
on this HTML:
<div class="parent">
<div>First child
<div>Second child</div>
</div>
</div>
would result in: http://jsfiddle.net/nhko3wyr/
I do understand that color and display properties differs in how they cascade and affect the DOM, and since this is a fact - is there a list with ALL properties divided into "inheriting" and "not inheriting" properties?