4 ms·
You could put each of them in an <iframe>. (now to hide from the abuse, and hope my karma doesn't fall below the voting threshhold for suggesting this)
by microcolonel 11y ago
You could put each of them in an <iframe>.
(now to hide from the abuse, and hope my karma doesn't fall below the voting threshhold for suggesting this)
- mintplant 11y agoI thought of that, but then the arrows don't hide immediately after you click them as on HN - they'd still be visible until the request completes. So you'd end up with the same problem: hiding both arrows when either is clicked without using JS. (I assume you mean putting each pair of arrows in an <iframe>, rather than each individual arrow.)
- microcolonel 11y agoIf it's a button, it'll be in the :focused state, you can use that to style it. Or you could use a CSS transition with a very very long time in one direction on the :active state. And of course, you can use adjacency selectors with buttons, while you can't with :visited links.
- mintplant 11y agoThat's exactly what I did, though :P Check my first comment.