Pro@programming.dev to Technology@lemmy.worldEnglish · 2 days agoYou no longer need JavaScript: an overview of what makes modern CSS so awesomelyra.horseexternal-linkmessage-square38fedilinkarrow-up1204arrow-down110file-textcross-posted to: Technology@programming.dev
arrow-up1194arrow-down1external-linkYou no longer need JavaScript: an overview of what makes modern CSS so awesomelyra.horsePro@programming.dev to Technology@lemmy.worldEnglish · 2 days agomessage-square38fedilinkfile-textcross-posted to: Technology@programming.dev
minus-squaresem@lemmy.blahaj.zonelinkfedilinkEnglisharrow-up5·2 days agoI have always been intimidated by CSS. Is a random background color possible without JavaScript? Like https://notpurple.com/ ?
minus-squaredreadbeef@lemmy.dbzer0.comlinkfedilinkEnglisharrow-up12·edit-21 day agoHow timely a question: https://webkit.org/blog/17285/rolling-the-dice-with-css-random/ tl;dr: CSS is getting genuine random for exactly that soon
minus-squarefeef@lemmy.worldlinkfedilinkEnglisharrow-up2·edit-21 day ago(Not my code) https://codepen.io/beben-koben/pen/eYPNew You might be able to use this idea and set the animation to 0 seconds. On second thought I don’t think it’ll work.
I have always been intimidated by CSS. Is a random background color possible without JavaScript? Like https://notpurple.com/ ?
How timely a question: https://webkit.org/blog/17285/rolling-the-dice-with-css-random/
tl;dr: CSS is getting genuine random for exactly that soon
(Not my code)
https://codepen.io/beben-koben/pen/eYPNew
You might be able to use this idea and set the animation to 0 seconds.
On second thought I don’t think it’ll work.