9
Crazed
6y

I am so fucking tired of sitting here all day every day adjusting paddings and margins. Oh fucking hurr durr you got one of the millions of fucking elements to not overflow on your page, well does it work on *this* resolution and *this* orientation? No, well fix that and then go back and fix what it breaks.

I swear to God I never want to touch fucking CSS again it's all I've done for a yesr and it is driving me up the god damn wall. This is my career, I shouldn't fucking dread coming in to work because I know how much bullshit I'll have to deal with. It's awful.

I don't get how anyone has good looking complicated pages that just look good on every possible resolution, it's fucking mind boggling that anyone can sit there and adjust heights and widths and paddings and margins and floats for hours on end nonstop just watching shit get broken and fixed and broken and fixed and AHHHHH

I need a fucking smoke and a pint just so I don't have to think about this anymore

Comments
  • 1
    😀 it's a black art.
    Make it simple, and look right on the main size, define whatever you think will be inherited, like display, etc, don't trust default values.
    Then add little fixes for other sizes and orientations using media queries.
    Usually 3 media queries are enough to cover everything from a phone to a big ass display.
    Good luck
  • 2
    @nbamaral I came in to a giant broken system with 10,000 lines of css. There is no keeping anything simple
  • 0
    I seriously can't take this shit anymore I'm about to lose it.
  • 1
    @Crazed
    I imagine the mess.
    I always wanted to write a css trimmer for those cases, never got to do it...
    Try to turn off individual sheets.
    The alternative is hard, copy what's in use to a new css and work from there.
  • 1
    @nbamaral there were no individual sheets. When I started here many months ago there was a single css file that was 10k lines long, alongside bootstrap and kendo.

    My job thus far has been to rework the entire thing into a managable css file structure and redesign the UX. Keep in mind I'm an intern... I feel I've done alright, but I didn't always have the best practices, and it's just been extremely stressful trying to manage all of this, especially when 80% of the content is just leftover unused elements and CSS styles, becayse what else is an intern to do but copy and paste into new files and work from there?

    Did I mention I'm the only one doing this?
  • 2
    Man, I feel your pain, I've been doing css since there are css, but 10k is just obscene.
    My worst cases were WP ports, I opted to recreate the css, just the used parts.
    But it's something that no software can really help you. :(
    Ask for help or say you need to start from scratch, 10k must slow dom render to a crawl.
  • 1
    @nbamaral it was a purchased "theme" and then a different ui intern before me fucked shit up more. Im actually moving to a new internship soon with a bigger company, but that means pressures on to get my stuff working...

    A part of me (99% of me) wants to just leave it as-is and just say "not my problem anymore", but the guys here have treated me well, nobody just really knew the challenge.
  • 1
    The good thing of being a intern is you can fail some. You will be a good professional, I can see you have enough commitment and will to do things right.
    But it's not really your fault someone dropped an elephant on your lap.
    Do your best, don't worry to much about it :)
  • 0
    @nbamaral thank you for the kinds words, I'll try my best, but I may have to tell my boss that "things are just weird on ipad pro portrait."
  • 0
    @Crazed
    And if it's bought, shouldn't those fixes be made by the seller?
    In no way you should know how it's structured, what's the logic behind it.
    It's always weird to understand how a different webdeveloper structures his css.
  • 1
    @nbamaral I think it was probably a low quality seller, or something liek that and then modified to be force-fitted to our page. Not 100% sure of the backstory to how it got so bad, but apparently by the time I got here it was no longer fixable.

    I believe it was a combination of low quality verbose css purchased online and custom elements and css pushed in with it over a couple years.
  • 0
    Ask me to build you a strong, secure and fast backend? Np....ask me to build a completely responsive ui? Gtfoh that shit is hard and annoying.
  • 2
    @AleCx04 same ;_; except maybe not secure. Ny back end skills are lacking. Im like mediocre at all parts and good at css except also bad at css cause fuck css
Add Comment