An Interest In:
Web News this Week
- April 25, 2024
- April 24, 2024
- April 23, 2024
- April 22, 2024
- April 21, 2024
- April 20, 2024
- April 19, 2024
Some of Our Sources
View All Sources
October 22, 2021 01:48 pm GMT
Original Link: https://dev.to/alvaromontoro/divtober-day-21-magic-40p1
Divtober Day 21: Magic
I forgot to publish this yesterday, but here it is... The word of the day was "Magic" so I coded a magic trick in CSS, with a single HTML element and no JavaScript:
It started just with a drawing of the magician and then I extended to look like this other demo I created way back.
Because it changes the value of the content
property inside an animation, the demo will not work on Safari. Maybe I could modify it a little so instead of animating content
, I could add some spacing and move the text around instead.
Original Link: https://dev.to/alvaromontoro/divtober-day-21-magic-40p1
Share this article:
Tweet
View Full Article
Dev To
An online community for sharing and discovering great ideas, having debates, and making friendsMore About this Source Visit Dev To