bestelbus22@lemmy.world to Programmer Humor@programming.dev · 11 hours agoFor that modern web feelinglemmy.worldimagemessage-square13fedilinkarrow-up1214arrow-down13
arrow-up1211arrow-down1imageFor that modern web feelinglemmy.worldbestelbus22@lemmy.world to Programmer Humor@programming.dev · 11 hours agomessage-square13fedilink
minus-squaremikazuki@lemmy.worldlinkfedilinkarrow-up8·10 hours agoDon’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.
minus-squarebestelbus22@lemmy.worldOPlinkfedilinkarrow-up9·10 hours agonull will actually default back to the rules coming from CSS, I use this all over the place as a pattern
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.
null will actually default back to the rules coming from CSS, I use this all over the place as a pattern