"3D slider (3D Carousel) bootstrap 4"
Bootstrap 4.1.1 Snippet by KashyapVadi

<link href="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/js/bootstrap.min.js"></script> <script src="//cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script> <!------ Include the above in your HEAD tag ----------> <main> <div class="content content--fixed"> <header class="codrops-header"> <h1 class="codrops-header__title"><a href="http://kashyapvadi.000webhostapp.com/"> Kashyap Vadi</a></h1> </header> </div> <div class="content"> <!-- Pieces Slider --> <div class="pieces-slider"> <!-- Each slide with corresponding image and text --> <div class="pieces-slider__slide"> <img class="pieces-slider__image" src="https://kashyapvadi132.000webhostapp.com/uoload/1slide/2.jpg" alt=""> <h2 class="pieces-slider__text">Amphibia</h2> </div> <div class="pieces-slider__slide"> <img class="pieces-slider__image" src="https://kashyapvadi132.000webhostapp.com/uoload/1slide/1.jpg" alt=""> <h2 class="pieces-slider__text">Status Quo</h2> </div> <div class="pieces-slider__slide"> <img class="pieces-slider__image" src="https://kashyapvadi132.000webhostapp.com/uoload/1slide/2.jpg" alt=""> <h2 class="pieces-slider__text">Amphibia</h2> </div> <div class="pieces-slider__slide"> <img class="pieces-slider__image" src="https://kashyapvadi132.000webhostapp.com/uoload/1slide/3.jpg" alt=""> <h2 class="pieces-slider__text">Love Letters</h2> </div> <div class="pieces-slider__slide"> <img class="pieces-slider__image" src="https://kashyapvadi132.000webhostapp.com/uoload/1slide/4.jpg" alt=""> <h2 class="pieces-slider__text">Green Flight</h2> </div> <!-- Canvas to draw the pieces --> <canvas class="pieces-slider__canvas"></canvas> <!-- Slider buttons: prev and next --> <button class="pieces-slider__button pieces-slider__button--prev">prev</button> <button class="pieces-slider__button pieces-slider__button--next">next</button> </div> </div> </main> <script src='https://kashyapvadi132.000webhostapp.com/uoload/1slide/anime.min.js'></script> <script src='https://kashyapvadi132.000webhostapp.com/uoload/1slide/pieces.min.js'></script> <script src='https://kashyapvadi132.000webhostapp.com/uoload/1slide/condi.js'></script>
article,aside,details,figcaption,figure,footer,header,hgroup,main,nav,section,summary{display:block;}audio,canvas,video{display:inline-block;}audio:not([controls]){display:none;height:0;}[hidden]{display:none;}html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%;}body{margin:0;}a:focus{outline:thin dotted;}a:active,a:hover{outline:0;}h1{font-size:2em;margin:0.67em 0;}abbr[title]{border-bottom:1px dotted;}b,strong{font-weight:bold;}dfn{font-style:italic;}hr{-moz-box-sizing:content-box;box-sizing:content-box;height:0;}mark{background:#ff0;color:#000;}code,kbd,pre,samp{font-family:monospace,serif;font-size:1em;}pre{white-space:pre-wrap;}q{quotes:"\201C" "\201D" "\2018" "\2019";}small{font-size:80%;}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline;}sup{top:-0.5em;}sub{bottom:-0.25em;}img{border:0;}svg:not(:root){overflow:hidden;}figure{margin:0;}fieldset{border:1px solid #c0c0c0;margin:0 2px;padding:0.35em 0.625em 0.75em;}legend{border:0;padding:0;}button,input,select,textarea{font-family:inherit;font-size:100%;margin:0;}button,input{line-height:normal;}button,select{text-transform:none;}button,html input[type="button"],input[type="reset"],input[type="submit"]{-webkit-appearance:button;cursor:pointer;}button[disabled],html input[disabled]{cursor:default;}input[type="checkbox"],input[type="radio"]{box-sizing:border-box;padding:0;}input[type="search"]{-webkit-appearance:textfield;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;box-sizing:content-box;}input[type="search"]::-webkit-search-cancel-button,input[type="search"]::-webkit-search-decoration{-webkit-appearance:none;}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0;}textarea{overflow:auto;vertical-align:top;}table{border-collapse:collapse;border-spacing:0;} *, *::after, *::before { box-sizing: border-box; } html { background: #fff; } body { /*--color-text: #fff; --color-link: #f0f0f0; --color-link-hover: #fff;*/ --color-text: black; --color-link: black; --color-link-hover: black; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif; /*min-height: 100vh;*/ color: #fff; color: var(--color-text); /*background: linear-gradient(115deg, rgba(86, 216, 228,1) 5%,rgba(159, 1, 234,1) 95%);*/ -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow: hidden; } a { text-decoration: none; color: var(--color-link); outline: none; } a:hover, a:focus { color: var(--color-link-hover); } a:focus, button:focus { outline: none; } .hidden { position: absolute; overflow: hidden; width: 0; height: 0; pointer-events: none; } /* Icons */ .icon { display: block; width: 1.5em; height: 1.5em; margin: 0 auto; fill: currentColor; } .icon--keyboard { display: none; } main { position: relative; width: 100%; } .content { position: relative; display: flex; justify-content: center; align-items: center; margin: 0 auto; min-height: 100vh; } .content--fixed { position: fixed; z-index: 10000; top: 0; left: 0; display: grid; align-content: space-between; width: 100%; max-width: none; min-height: 0; height: 100vh; padding: 1.5em; pointer-events: none; grid-template-columns: 50% 50%; grid-template-rows: auto auto 4em; grid-template-areas: 'header ...' '... ...' 'github demos'; } .content--fixed a { pointer-events: auto; } /* Header */ .codrops-header { position: relative; z-index: 100; display: flex; flex-direction: row; align-items: flex-start; align-items: center; align-self: start; grid-area: header; justify-self: start; } .codrops-header__title { font-size: 1em; font-weight: bold; margin: 0; padding: 0.75em 0; } .info { margin: 0 0 0 1.25em; color: var(--color-info); } .github { display: block; align-self: end; grid-area: github; justify-self: start; } /* Top Navigation Style */ .codrops-links { position: relative; display: flex; justify-content: center; margin: 0 1em 0 0; text-align: center; white-space: nowrap; } .codrops-icon { display: inline-block; margin: 0.15em; padding: 0.25em; } @media screen and (max-width: 55em) { body { overflow: auto; } .content { flex-direction: column; height: auto; min-height: 0; padding-bottom: 10em; } .content--fixed { position: relative; z-index: 1000; display: block; padding: 0.85em; } .codrops-header { flex-direction: column; align-items: center; } .codrops-header__title { font-weight: bold; padding-bottom: 0.25em; text-align: center; } .info { margin: 0; } .github { display: block; margin: 1em auto; } .codrops-links { margin: 0; } } .pieces-slider { position: relative; text-align: center; padding: 8rem 0; } .js .pieces-slider { padding: 0; } /* Make all slides absolutes and hide them */ .js .pieces-slider__slide { position: absolute; right: 100%; } /* Define image dimensions and also hide them */ .pieces-slider__image { max-width: 600px; max-height: 400px; } .js .pieces-slider__image { visibility: hidden; } /* Hide the titles */ .js .pieces-slider__text { text-indent: -9999px; } /* Canvas with viewport width and height */ .js .pieces-slider__canvas { position: relative; width: 100vw; height: 100vh; transition: 0.2s opacity; } /* Class for when we resize */ .pieces-slider__canvas--hidden { opacity: 0; transition-duration: 0.3s; } /* Navigation buttons */ .pieces-slider__button { position: absolute; left: 0; top: 50%; width: 100px; height: 100px; margin: -25px 0 0 0; background-color: #5104ab; color: #fff; font-family: inherit; font-weight: bold; border: none; cursor: pointer; transition: 0.1s background-color; } .pieces-slider__button:hover { background: #5f3abf; } .pieces-slider__button--next { left: auto; right: 0; } /* Hide the buttons when no JS */ .no-js .pieces-slider__button { display: none; } /* Media queries with styles for smaller screens */ @media screen and (max-width: 720px) { .pieces-slider__image { max-width: 300px; } } @media screen and (max-width: 55em) { .pieces-slider__canvas { width: 100vw; height: 100vw; } .pieces-slider__button { width: 60px; height: 60px; } }
document.documentElement.className="js";var supportsCssVars=function(){var e,t=document.createElement("style");return t.innerHTML="root: { --tmp-var: bold; }",document.head.appendChild(t),e=!!(window.CSS&&window.CSS.supports&&window.CSS.supports("font-weight","var(--tmp-var)")),t.parentNode.removeChild(t),e};supportsCssVars()||alert("Please view this demo in a modern browser that supports CSS Variables.");

Related: See More


Questions / Comments: