3 ms·
Offtopic, but what is the CSS trick they are using to handle zoom? I've got JS disabled and when I zoom the page the spammy sidebars vanish. I am not familiar
by keenerd 11y ago
Offtopic, but what is the CSS trick they are using to handle zoom? I've got JS disabled and when I zoom the page the spammy sidebars vanish. I am not familiar with this and it references 18 CSS files, making it tedious to dig through the source.
- ThrustVectoring 11y agoChrome's inspect element found a `.span2.hidden-phone.hidden-table` element, which is styled with a media query from a CSS file called `bootstrap-responsive.css`.
- keenerd 11y agoThanks, that made it much easier to drill down. Specifically there is @media (max-width: 701px) { ... } @media (min-width: 700px) and (max-width: 1100px) { ... } And that toggles the visibility of some classes. I didn't realize CSS3 supported that sort of logic. Guess I shouldn't have been surprised given the Turing Completeness proof...
- Apocryphon 11y agoJust read the original source, it's linked at the top: http://www.pbs.org/newshour/making-sense/column-can-cure-economic-woes-longer-vacations/ http://www.pbs.org/newshour/making-sense/column-can-cure-eco...