Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Fix CSS by writing it in JavaScript. Parent comment
Example 1:
<div class="component-a"><button></button><div class="component-b"><button></button></div></div>
Example 2:
<div class="component-b"><button></button></div>
Result:
The <button> wrapped in div.component-b for both above examples will render exactly the same, ignoring html structure.
There are no comments on this comment yet.
Example 1:
<div class="component-a"><button></button><div class="component-b"><button></button></div></div>
Example 2:
<div class="component-b"><button></button></div>
Result:
The <button> wrapped in div.component-b for both above examples will render exactly the same, ignoring html structure.