10
yehaaw
59d

Start your first-week doing front-end work on big codebase important.

Comments
  • 2
    I'm offended. Congrats!
  • 6
    Oh boy. This is going to end in tears.
  • 1
    Can someone please tell me what that (not)important thing even does?

    I'm not web dev but sometimes when I look CSS I see that and have don't clear idea what it does.

    It rises priority of that element as far I understand. But how you determine when it's needed? Testing and seeing element isn't right? So is it trial and error thing?
  • 3
    @amatrelan It means, essentially, what it says - 'this is important, ignore subsequent rules, and any usual specificity issues, apply this rule!'
  • 4
    @amatrelan it's usually only needed if you want to override a framework/lib rule (like bootstrap) where explicitly of an element has already been taken by the framework.

    In general, you would avoid using it unless you have no other choice.

    The "!" Isn't not, but one way to remember what it does is - everything else is not important.
  • 0
    My python developer ass: haha, that looks funny.
  • 2
    @yehaaw also, hash tags are comma separated.
  • 1
    @sweetnothings Company values, ma'am
  • 2
    /* Just fyi */
    #devRant post {
    tags: comma-delimited !important;
    tags-whitespace: allow !important;
    }
  • 0
    What's a push button? Is it like say a regular old button that gets pushed?
  • 1
    Its IMPORTANT to note that overusage of important makes the word important seem not do important anymore
  • 0
    @theuser That's right
  • 1
    @theuser it is. The button head is usually contained better in pushbuttons and mostly red (i.e. dictator buttons or doofenshmirtz's self-destruct buttons)
  • 1
    Ewww css.
  • 4
    ✅ Partial pixel measurements

    ✅ RGB mixed with word color values

    ✅ Important tags everywhere

    ✅ Redundant px for 0 values

    ✅ No spacing before braces

    Congrats, it's awful
  • 0
    @CoffeeSnake Second and fifth point you've made are bullshit. Other then that, you're on spot. Change my mind.
  • 1
    @yehaaw you can do rgba as #RRGGBBAA and that optimizes overall size
    @highlight
    #00000000
    rgba(0,0,0,0)
  • 0
  • 1
    @melezorus34 Cool, thanks
  • 0
    Yuck.. Please remove this from my feed..
  • 3
Add Comment