Naming view transitions

 I add a 'vt' prefix to the names of my 'view transitions'


This makes it easier to search for a 'view transition' name in the code.


I found using a 'view transition' name such as 'settings' brings up lots of other matches with elements and CSS class names.


The 'vtbag.dev' website has lots of tips about CSS 'view transitions'.





Comments

Popular posts from this blog

Giving PWA icons transparent backgrounds

Marking up code examples

RCS 'identification marker' comes in useful