easy to get into trouble for sure.

  • @[email protected]
    link
    fedilink
    94 months ago

    Trying to fix padding on an element that has “pad-left” and “padding” at the same time but you don’t realize it

    • @[email protected]
      link
      fedilink
      English
      74 months ago

      The way to fix a pad-bottom is simple! Just give the next element a negative margin-top!

      • @[email protected]
        link
        fedilink
        23 months ago

        I feel like I’ve actually done that, but it was only because I had to have the padding or else everything broke

        I’m glad I’m not alone 😔

    • @[email protected]
      link
      fedilink
      English
      13 months ago

      That’s no big deal, just use a linter. It’s also pretty obvious what the priority is in the inspector.