155
sigint
7y

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
  • 2
    That's how I do it! Tweak in Chrome Dev Tool until I'm satisfied, then write it down in the CSS file :D
  • 5
    @Jilano let me tell you a secret, that's how everyone does it. Open a random website and inspect it
  • 3
    @sigint *runs adding web designer on his resume*
  • 1
    Definitely bad practice lol
  • 4
    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