display or visibility. Don't breath. You can only change transform and opacity. Delay all your changes after animation ends – use events: beforeChange (slide switched), initialZoomInEnd (initial zoom in animation ended) and initialZoomOutEnd (initial zoom out animation ended). :hover and :active effects on thumbnails that open PhotoSwipe if you have zoom-in/out animation enabled. png and svg sprite. By default it's loaded only after PhotoSwipe is opened. To make controls appear instantly, you may merge gallery sprite with your site "main" sprite, or preload it via CSS.Know how this page can be improved? Suggest an edit!
</> with <3 in by @dimsemenov