19

When you spend 1 hour trying to hide content by changing a class but then realise that you have a “display: block” overwriting said class 13 lines higher up. Fu** me. Fu** CSS.

Comments
  • 0
    Which text editor?
  • 1
    @dextel2 IntelliJ IDEA
  • 1
    Use your web browsers stylesheet tools, they will usually list your styles and then cross through the overwritten ones
  • 1
    @tisButABug I also did but I was tired and blind. Language option was supposed to change className on mouseOver which it did, but nothing happened with the styles so I just assumed I had done something wrong in the component and started to read everything through, ofc starting in the wrong end. 😩
  • 1
    @status-418 Late night coding is the best coding :)
  • 1
    @tisButABug or late afternoon ;P 5:50PM here now hehe. But in general - yes lol
Add Comment