JSFiddle - React, Tailwind, and code Playground
by Addy Osmani
HTML
<div id="container">
<label id="label">
click me to crash
<input type="checkbox" />
</label>
</div>
JavaScript
$('label').click(function() {
// crashing selections: $(this), $(this).children('input, span')... any inline element
// crashing values: block, inherit, list-item, inline-block, inline-table, table-*
// order is important...
$(this).css('display', 'block');
$('div#container').hide();
});