Re:Fix CSS by writing it in JavaScript
by colinramsay on Tuesday November 25, 2014 @10:32AM
(#8658086)
You can set top in CSS.
[ Parent
| on HN ]
He means "top" as in "top-relative-to-scroll-position-when-the-modal-is-taller-than-the-screen-in-IE8"
Re:Fix CSS by writing it in JavaScript
by colinramsay on Tuesday November 25, 2014 @10:45AM
(#8658133)
Ah, well you'd still need something more powerful for that kind of thing to work. A constraints engine for example:
If you're going to go to the trouble of writing a CSS processor, you could at least add in some really interesting ideas.