11

Why, for the love of all that is good, does anyone still code for absolute placements in css?!

I've spent 90%+ of my time lately making some changes, which is about 20x harder than it needed to be because this app (written in the last 1-3 years) has all of the styling set explicitly. How does anyone justify that?

Comments
  • 2
    Cheap employees?
  • 1
    @gosubinit I honestly think it was just laziness
  • 2
    @dootlurk did they know well about relative positioning, flex, grids and decent testing? Does the company have peer review practices? Lack of knowledge is a common thing, there is a gazilion of uneducated devs out in the market.
  • 0
    @gosubinit I have no idea, it was in the mysterious time before I arrived and the people still here were keen to tell me it was someone long gone lol
  • 3
    Hey, there is a p missing in "20px"!
  • 1
    Preach!
    Eversince CSS-Grid and Flexbox have become a thing, "position: absolute;" should rarely be used...
    I know so many front end devs who "hack" CSS together without properly understanding the different positioning concepts and when to use them.
  • 1
    @PonySlaystation so. Much. This.
  • 1
    @dootlurk It's mind boggling how "simple" CSS seems to be, but how hard it actually is to master!
Add Comment