Hacker News new | ask | show | jobs
by c-smile 1568 days ago
display: none is horrible indeed.

Instead that "noneness" shall go to visibility - orthogonal property.

So if you have <tr> (display:table-row) you can switch it on and off by

visibility:none; and visibility:visible;

without touching display model.