view transition makes screen flash
One of my 'view transitions' sometimes made the screen flash. I fixed this by setting 'animation-fill-mode' to 'both'. One of my normal CSS animation might also have had this problem. In general, I tend to put 'both' at the end of all my CSS 'animation' settings values. At first I thought the flashes were happening because I am changing 'display' values to hide and show part of the page. Adding and removing HTML elements seems to be better. Also I thought the flashes might be because I put 'view transition's around the start and end of a game, where a lot of changes are made to the page. Maybe I should have kept the 'view transition' simpler. There is a good article about this at: 'piccalil.li/blog/ why-are-my-view-transitions-blinking/' The 'piccalil.li' site has some nice articles.