153
sigint
8y

Changing numbers on CSS randomly until it works.

Aka, using magic numbers

Comments
  • 2
    I'm sure this is meant to be funny.. But i for one know nothing about CSS. Lol
  • 4
    @Jilano let me tell you a secret, that's how everyone does it. Open a random website and inspect it
  • 1
    Definitely bad practice lol
  • 3
    z-index: 1000000000 !important;

    (Not even made up 🙄)
  • 2
    Actually, that's the yolo approach. In a more safe scenario you would have specific measures and design guidelines to know which sizes to use and where.
  • 7
    Exactly like this then? :D
  • 1
    Oh z-index and it's misuse -.-
  • 1
    So this! My wk47 indeed!
  • 1
    @uziiuzair You'd be so wrong if you think it's only z-index.. 😁
  • 0
    @sigint z-index is usually the cause in 99% of the projects I do. 😂 I can't recall any other property that has given me so much trouble. Maybe text-indent? Hahaha
Add Comment