ShinyLemmy
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
siriusmart@lemmy.world to Programmer Humor@lemmy.ml · 2 years ago

Noooooo my div

lemmy.world

message-square
11
fedilink
26

Noooooo my div

lemmy.world

siriusmart@lemmy.world to Programmer Humor@lemmy.ml · 2 years ago
message-square
11
fedilink
alert-triangle
You must log in or register to comment.
  • odium@programming.dev
    link
    fedilink
    arrow-up
    4
    ·
    2 years ago

    z-index: 999999 !important;

    • maeries@feddit.de
      link
      fedilink
      arrow-up
      4
      ·
      2 years ago

      !didistutter?;

    • sbv@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      2
      ·
      2 years ago

      !importanter;

      • Xylight (Photon dev)@lemmy.xylight.dev
        cake
        link
        fedilink
        English
        arrow-up
        2
        ·
        2 years ago

        fun fact: !important !important is essentially !importanter, and you can go even further if you want a hell of a css hierarchy

        • whatisallthis@lemm.ee
          link
          fedilink
          arrow-up
          2
          ·
          2 years ago

          You can also just write your class again as some sort of additional specificity like

          .myclass.myclass.myclass { color:red !important !important; }

          • FUsername@feddit.de
            link
            fedilink
            arrow-up
            2
            ·
            2 years ago

            The fact that this and the prior comments work don’t make like CSS more tbh

        • Fedora@lemmy.haigner.me
          link
          fedilink
          arrow-up
          1
          ·
          2 years ago

          This… exists? This is horrible.

    • AlecSadler@lemmy.ml
      link
      fedilink
      English
      arrow-up
      1
      ·
      2 years ago

      I actually encountered an issue earlier today where my important wasn’t working…and it was because another dev had already added a more specific important.

      I deleted their important.

    • GombeenSysadmin@feddit.uk
      link
      fedilink
      arrow-up
      0
      ·
      2 years ago

      When I read that, I can never not say “not important” in my head

      • hellishharlot@programming.dev
        link
        fedilink
        arrow-up
        1
        ·
        2 years ago

        Yeah I think that makes CSS a manager. It’s always prioritizing not important things

  • cs127@lemmy.sdf.org
    link
    fedilink
    arrow-up
    1
    ·
    edit-2
    2 years ago

    the z index is so high that the div escaped your monitor and is behind your head now

Programmer Humor@lemmy.ml

programmerhumor@lemmy.ml

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !programmerhumor@lemmy.ml

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

  • Posts must be relevant to programming, programmers, or computer science.
  • No NSFW content.
  • Jokes must be in good taste. No hate speech, bigotry, etc.
Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 506 users / day
  • 1.35K users / week
  • 3.35K users / month
  • 9.97K users / 6 months
  • 1 local subscriber
  • 37K subscribers
  • 1.67K Posts
  • 30.9K Comments
  • Modlog
  • mods:
  • AgreeableLandscape@lemmy.ml
  • cat_programmer@lemmy.ml
  • BE: 0.19.9
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org