79

Sometimes I write inline CSS because I'm a lazy piece of shit.

Comments
  • 4
    We all are sometimes aren't we lol
  • 9
    That's fine with me if you don't reuse the stuff later on, but if you write the same shit on two separate places I'll gladly murder your family, because you could have saved yourself and myself time if you put it into CSS.
    The guy I hate the most uses style tags on top of the page. Get a css file, fucking Dumbo's.
  • 2
    @DjSall that is my biggest pet peeve. I worked on a group project in college last year and i had to go back and rewrite all of the css and a ton of the HTML because one guy told the group that it was more efficient to do style tags because you have to have an individual css file for each page :/ he also gave classes to EVERYTHING as in <footer class=“footer”> and <p class=“paragraph”> for NO REASON.
  • 1
    @Tawzer it’s funny that in the class I’m TAing that sort of stuff loses you points. Not a lot but enough to kinda annoy you for doing unnecessary stuff and inline styling.
  • 0
    @nikmanG it loses you points in the class I took as well, which is why I went back and rewrote everything. I’m considering posting the before and afters on github just for a laugh 😂
  • 1
    @Tawzer and then watch it get flagged for plagiarism
  • 4
    Same here. But I do it as well because I'm a spiteful bastard sometimes.
  • 1
    Shhhh I won’t tell if you won’t 😶
  • 4
    Your secret is safe with us friendo
  • 1
    @ScribeOfGoD you're goddamn right buddy
  • 1
    @Tawzer oh God the horror!
  • 0
    Shame on you!
  • 1
    inline css is are like lambda functions. Good in situations when we ain't got no time for separate functions.
  • 1
    I do it with the display property to quickly hide and show items to work on them.I also use it to quickly test small things, like background color. Inline style would never make it to production code, however.
  • 1
    Oh i can't? Ok then..

    Inspect element, right click, copy selector for each style.
    Create a css file for each part of the page (header.css, section.css..)

    — my dear coworker
  • 0
    Don't know about "lazy" but can agree on "piece of shit".
  • 1
  • 0
    @highonsleep Don't do it though. Inline CSS is sweet poison.
  • 1
    @Cyanide dude, I know.
  • 0
    Sometimes I inline business logic in code.
Add Comment