megumin.org
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
bestelbus22@lemmy.world to Programmer Humor@programming.dev · 1 day ago

For that modern web feeling

lemmy.world

message-square
43
link
fedilink
362

For that modern web feeling

lemmy.world

bestelbus22@lemmy.world to Programmer Humor@programming.dev · 1 day ago
message-square
43
link
fedilink
  • mikazuki@lemmy.world
    link
    fedilink
    arrow-up
    9
    ·
    1 day ago

    Don’t just override opacity with null , it will override whatever the original style was. Before setting to 30% you need to store the original value and restore that in the timeout.

    • bestelbus22@lemmy.worldOP
      link
      fedilink
      arrow-up
      13
      ·
      1 day ago

      null will actually default back to the rules coming from CSS, I use this all over the place as a pattern

      • Victor@lemmy.world
        link
        fedilink
        arrow-up
        2
        ·
        13 hours ago

        But if the element itself already had an inline opacity value, that would be lost. 🙂

        • bestelbus22@lemmy.worldOP
          link
          fedilink
          arrow-up
          2
          ·
          9 hours ago

          Yes very true, and also not likely at all ;)

          • Victor@lemmy.world
            link
            fedilink
            arrow-up
            2
            ·
            7 hours ago

            Not in your code perhaps, which is a good thing 👍

Programmer Humor@programming.dev

programmer_humor@programming.dev

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: !programmer_humor@programming.dev

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

  • Keep content in english
  • No advertisements
  • Posts must be related to programming or programmer topics
Visibility: Public
globe

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

  • 1.27K users / day
  • 4.77K users / week
  • 7.56K users / month
  • 7.63K users / 6 months
  • 1 local subscriber
  • 28.6K subscribers
  • 278 Posts
  • 3.02K Comments
  • Modlog
  • mods:
  • adr1an@programming.dev
  • Feyter@programming.dev
  • BurningTurtle@programming.dev
  • Pierre-Yves Lapersonne@programming.dev
  • BE: 0.19.14
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org