Animate display: none (and more!) with View Transitions

Subscribers:
791,000
Published on ● Video Link: https://www.youtube.com/watch?v=Qwgc_pJ2OOw



Duration: 0:55
8,428 views
478


Write any CSS you want in the contenteditable -pre- and some JavaScript will tell the browser to start a view transition (take a before screenshot), apply the written styles to the page, then take an after screenshot and transition between the two states (whatever they are!).

Codepen demo → https://goo.gle/3Ps3hZx
View Transitions guide → https://goo.gle/3CqDHMB

GUI Snippets → https://goo.gle/GUIsnippets
GUI Challenges → https://goo.gle/GUIchallenges

Subscribe to Google Chrome Developers → https://goo.gle/ChromeDevs

#GUIsnippets







Tags:
Chrome
Developers
Google
Web
gui challenges
css
css tutorial
how to use css
what is css
intro to css
introduction to css
chrome developer
chrome developers
google chrome developer
google chrome developers
developer
developers
google chrome
chrome
google
chrome latest
chrome updates
Adam Argyle
GUI Snippets