Live data from Hacker News

CSS: Absolutely positioning things relatively

canvatechblog.com

41–42 of 42 posts

Re: CSS: Absolutely positioning things relatively

#41

I don't understand why we're even talking about javascript? Responsiveness has always worked fine on css. Even without grid, you could easily make a good responsive layout

> has always worked

Some of you have never had to hide styles from IE5 with HTML comments and it shows.

Re: CSS: Absolutely positioning things relatively

#42
Flexbox would have been my preference here. media query to switch the flex-direction, order to pull the buttons up in small mode. But grid seems to work too.

I've been doing this for 20+ years. I was there when CSS hatched and we started switching out tables and image maps for divs and layers and then crying when IE4, IE5 invariably didn't work. What I mean to say is that isn't is nice that we can have multiple ways of accomplishing the same thing in a standard way?

I barely ever have to fix cross-browser positional issues these days. That used to be 20% of my working life.

Post reply on HN