.gallary { padding: 0; overflow: hidden; position: relative; } .gallary .gallary-item { position: absolute; opacity: 0; filter: blur(15px); transition: opacity 0.5s, filter 0.5s; } .gallary .gallary-item.current { opacity: 1; filter: blur(0); }