body.project { .project-header { position: relative; overflow: hidden; width: 100%; height: 345px; } .gallery { font-size: 0; overflow-x: auto; overflow-y: hidden; width: 100%; height: 345px; margin: auto; white-space: nowrap; background-color: #f9f9f9; -webkit-overflow-scrolling: touch; scroll-snap-type: mandatory; scroll-snap-points-x: repeat(234px); -webkit-overflow-scrolling: touch; &::-webkit-scrollbar { display: none; width: 0; height: 0; } } .gallery img { width: 345px; margin-right: 5px; z-index: 1; } a.full-view { position: absolute; width: 44px; height: 44px; right: 0; bottom: 0; margin: 14px; background-color: #ffffff; box-shadow: -5px 10px 5px 0px rgba(0,0,0,.04), 5px 10px 5px 0px rgba(0,0,0,.04), 0px 8px 5px 0px rgba(0,0,0,.08); z-index: 7; } a.full-view svg { margin: 8px; width: 28px; height: 28px; } }