Pen Settings

HTML

CSS

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URL's added here will be added as <link>s in order, and before the CSS in the editor. If you link to another Pen, it will include the CSS from that Pen. If the preprocessor matches, it will attempt to combine them before processing.

+ add another resource

JavaScript

Babel includes JSX processing.

Add External Scripts/Pens

Any URL's added here will be added as <script>s in order, and run before the JavaScript in the editor. You can use the URL of any other Pen and it will include the JavaScript from that Pen.

+ add another resource

Packages

Add Packages

Search for and use JavaScript packages from npm here. By selecting a package, an import statement will be added to the top of the JavaScript editor for this package.

Behavior

Save Automatically?

If active, Pens will autosave every 30 seconds after being saved once.

Auto-Updating Preview

If enabled, the preview panel updates automatically as you code. If disabled, use the "Run" button to update.

Format on Save

If enabled, your code will be formatted when you actively save your Pen. Note: your code becomes un-folded during formatting.

Editor Settings

Code Indentation

Want to change your Syntax Highlighting theme, Fonts and more?

Visit your global Editor Settings.

HTML

              
                <!doctype html>
<html lang="en">

<head>
    <!-- Required meta tags -->
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <!-- Bootstrap CSS -->
    <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css">
    <link rel="stylesheet" type="text/css" href="https://cdnjs.cloudflare.com/ajax/libs/Swiper/4.3.5/css/swiper.min.css">
    <title>Testimonial UI</title>
    <style>
      @import url(https://fonts.googleapis.com/css?family=Bungee);
      body {
          background-color: #EA8569;
          margin: 0;
          padding: 0;
          overflow-x: hidden;
          font-family: 'Bungee';
      }
      .swiper-container
      {
        -webkit-box-shadow: 3px 3px 0 #009798 inset, 3px 3px 0 #fff;
                box-shadow: 3px 3px 0 #009798 inset, 3px 3px 0 #fff;
        border-radius: .5em .2em;
        -webkit-box-sizing: border-box;
                box-sizing: border-box;
        vertical-align: top;
        padding: 15px 15px 15px 15px;   
        border: 3px solid #000;
        background-color: #fff;
        -webkit-box-shadow: 3px 3px 0 #EA8569 inset, 3px 3px 0 #fff;
                box-shadow: 3px 3px 0 #EA8569 inset, 3px 3px 0 #fff;
        margin-top: 7%;
        margin-bottom: 7%;
      }
      img
      {
        display: block;
        position: absolute;
        top: -50px;
        left: 15px;
        border: 3px solid #1A171B;
        border-radius: 3.2px 11.2px 3.2px 8px;
        -webkit-box-shadow: 3px 2px 0 #fff;
                box-shadow: 3px 2px 0 #fff;
        padding: 3px 0 0 3px;
        background-color: #fff;
      }
      .count
      {
        background: #EA8569;
        width: 35px;
        height: 35px;
        margin: 0 auto;
        display: block;
        margin-bottom: 10px;
        border-radius: 50%;
        padding-top: 7px;
        text-align: center;
        color: #fff;
      }
      .swiper-slide .slider-text
      {
        padding: 0px 0px 0px 125px; 
      }
      @media (max-width: 767px)
        {        
          .swiper-container
          {
            margin-top: 15%;
            margin-bottom: 15%;
          }
          .swiper-slide .slider-text
          {
            padding: 80px 0px 0px 0px;      
          }
        } 
    </style>
</head>

<body>
<div class="container">
  <div class="col-12">
      <div class="swiper-container">
        <div class="swiper-wrapper">
          <div class="swiper-slide">
            <img src="https://placeimg.com/80/80/tech">
            <div class="slider-text">
              <h3>Lorem ipsum.</h3>
              <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Molestiae quos eum temporibus odit earum voluptatum maxime, illum quibusdam iure omnis. Iusto voluptates, adipisci repellat officiis.</p>
            </div>
          </div>
          <div class="swiper-slide">
            <img src="https://placeimg.com/80/80/animals">
            <div class="slider-text">
              <h3>Lorem ipsum.</h3>
              <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Dolorum perspiciatis illum, cupiditate vero necessitatibus dolor, quidem sunt eius nisi at non dolorem eum, dolores porro eveniet tempore sapiente. Velit repellendus cupiditate nam eligendi voluptatum nostrum.</p>
            </div>
          </div>
          <div class="swiper-slide">
            <img src="https://placeimg.com/80/80/arch">
            <div class="slider-text">
              <h3>Lorem ipsum.</h3>
              <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Dolorum accusantium reiciendis ipsam ipsa, velit repudiandae.</p>
            </div>
          </div>
          <div class="swiper-slide">
            <img src="https://placeimg.com/80/80/nature">
            <div class="slider-text">
              <h3>Lorem ipsum.</h3>
              <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Architecto rem quasi similique, ad aspernatur quisquam ea necessitatibus quos nam totam. Impedit voluptate voluptatum error porro eos obcaecati. Minima, quasi, consequuntur.</p>
            </div>
          </div>
          <div class="swiper-slide">            
            <img src="https://placeimg.com/80/80/tech">
            <div class="slider-text">
              <h3>Lorem ipsum.</h3>
              <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Ratione unde culpa impedit, voluptas dolorem similique!</p>
            </div>
          </div>
          <div class="swiper-slide">
            <img src="https://placeimg.com/80/80/people">
            <div class="slider-text">
              <h3>Lorem ipsum.</h3>
              <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Officiis, id aperiam laboriosam.</p>
            </div>
          </div>
        </div>
        <div class="count"></div>
      </div>
  </div>
</div>

    <script src="https://code.jquery.com/jquery-3.3.1.min.js"></script>
    <script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/Swiper/4.3.5/js/swiper.min.js"></script>

</body>

</html>
              
            
!

CSS

              
                
              
            
!

JS

              
                var swiper = new Swiper('.swiper-container', {
          loop: true,
          speed: 1000,
          disableOnInteraction: false,
          effect: 'cube',
          shadow: false,
          cubeEffect: {
            slideShadows: false,
            shadow: false,
          },
          grabCursor: true,
          autoplay: {
              delay: 5000
          },
          on: {
          slideChange: function () {
            $(".count").text(this.realIndex + 1);
          }
        }
      });

      $(".swiper-container").hover(function() {
          swiper.autoplay.stop();
      }, function() {
          swiper.autoplay.start();
      });
              
            
!
999px

Console