• Nick@lemmy.world
      link
      fedilink
      arrow-up
      6
      arrow-down
      1
      ·
      1 year ago

      Idk why exactly but using IDs for styling has been discouraged for a while and now every application I’ve ever worked on had been styled using classes that are usually unique anyway

  • kamenLady.@lemmy.world
    link
    fedilink
    arrow-up
    1
    arrow-down
    2
    ·
    1 year ago

    Rather a

    margin-top: -20px;

    Or they did a

    transform: rotate ( -90deg );

    before being able to achieve that with a margin-left.