<!-- Root element of PhotoSwipe. Must have class pswp. --> <divclass="pswp"tabindex="-1"role="dialog"aria-hidden="true"> <!-- Background of PhotoSwipe. It's a separate element as animating opacity is faster than rgba(). --> <divclass="pswp__bg"> </div> <!-- Slides wrapper with overflow:hidden. --> <divclass="pswp__scroll-wrap"> <!-- Container that holds slides. PhotoSwipe keeps only 3 of them in the DOM to save memory. Don't modify these 3 pswp__item elements, data is added later on. --> <divclass="pswp__container"> <divclass="pswp__item"> </div> <divclass="pswp__item"> </div> <divclass="pswp__item"> </div> </div> <!-- Default (PhotoSwipeUI_Default) interface on top of sliding area. Can be changed. --> <divclass="pswp__ui pswp__ui--hidden"> <divclass="pswp__top-bar"> <!-- Controls are self-explanatory. Order can be changed. --> <divclass="pswp__counter"> </div> <buttonclass="pswp__button pswp__button--close"title="Close (Esc)"></button> <buttonclass="pswp__button pswp__button--share"title="Share"></button> <buttonclass="pswp__button pswp__button--fs"title="Toggle fullscreen"></button> <buttonclass="pswp__button pswp__button--zoom"title="Zoom in/out"></button> <!-- Preloader demo http://codepen.io/dimsemenov/pen/yyBWoR --> <!-- element will get class pswp__preloader--active when preloader is running --> <divclass="pswp__preloader"> <divclass="pswp__preloader__icn"> <divclass="pswp__preloader__cut"> <divclass="pswp__preloader__donut"> </div> </div> </div> </div> </div> <divclass="pswp__share-modal pswp__share-modal--hidden pswp__single-tap"> <divclass="pswp__share-tooltip"> </div> </div> <buttonclass="pswp__button pswp__button--arrow--left"title="Previous (arrow left)"> </button> <buttonclass="pswp__button pswp__button--arrow--right"title="Next (arrow right)"> </button> <divclass="pswp__caption"> <divclass="pswp__caption__center"> </div> </div> </div> </div> </div>