Pen Settings

HTML

CSS

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URLs added here will be added as <link>s in order, and before the CSS in the editor. You can use the CSS from another Pen by using its URL and the proper URL extension.

+ 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

Auto Save

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

              
                 
 <svg xmlns="http://www.w3.org/2000/svg" style="display: none;">
        <symbol viewBox="0 0 43.763 23.214">
            <g id="arrow-left" transform="translate(2.886 2.823)">
                <line id="Line_183" data-name="Line 183" x1="38.495" transform="translate(0.382 8.862)" fill="none"
                    stroke-linecap="round" stroke-miterlimit="10" stroke-width="4" />
                <line id="Line_184" data-name="Line 184" y1="8.205" x2="9.256" transform="translate(0.382 0)"
                    fill="none" stroke-linecap="round" stroke-miterlimit="10" stroke-width="4" />
                <line id="Line_185" data-name="Line 185" x2="10" y2="9" transform="translate(-0.062 8.566)" fill="none"
                    stroke-linecap="round" stroke-miterlimit="10" stroke-width="4" />
            </g>
        </symbol>
        <symbol id="arrow" viewBox="0 0 400.004 400.004" style="enable-background:new 0 0 400.004 400.004;"
            xml:space="preserve">
            <g>
                <path d="M382.688,182.686H59.116l77.209-77.214c6.764-6.76,6.764-17.726,0-24.485c-6.764-6.764-17.73-6.764-24.484,0L5.073,187.757
            c-6.764,6.76-6.764,17.727,0,24.485l106.768,106.775c3.381,3.383,7.812,5.072,12.242,5.072c4.43,0,8.861-1.689,12.242-5.072
            c6.764-6.76,6.764-17.726,0-24.484l-77.209-77.218h323.572c9.562,0,17.316-7.753,17.316-17.315
            C400.004,190.438,392.251,182.686,382.688,182.686z" />
            </g>
        </symbol>
    </svg>

<section class="half-color-box">
        <div class="container spacer por">
            <div class="text-whtie text-center ml-3">
                <h1 class="bold">What Clients Say</h1>
                <p class="lead">
                    Lorem ipsum dolor sit amet consectetur adipisicing elit. Rem, at!
                </p>
            </div>
            <div class="test-arrowbox">

                <div class="swiper-button-prev-test">
                    <svg fill="red" height="34" class="arrow left">
                        <use xlink:href="#arrow" />
                    </svg>
                </div>
                <div class="swiper-button-next-test">
                    <div class="arrow-right">
                        <svg fill="red" height="60" width="60" class="arrow">
                            <use xlink:href="#arrow" />
                        </svg>
                    </div>

                </div>
            </div>
            <div class="swiper-container swiper-testimonial">
                <div class="swiper-wrapper">
                    <div class="swiper-slide">
                        <div class="review-box">
                            <div class="media">
                                <img class="mr-3" src="https://picsum.photos/50/50" alt="Generic placeholder image">
                                <div class="media-body">
                                    <h5>Amanda Jackson</h5>
                                    <p class="user-post">CEO, NRD Group</p>
                                </div>
                            </div>
                            <p class="read">
                                It has survived not only five centuries, but also the leap into electronic typesetting,
                                remaining essentially unchanged. It was popularised in the 1960s with the race.
                            </p>
                            <img class="quote" src="img/icons/quote.svg" alt="">

                        </div>
                    </div>
                    <div class="swiper-slide">
                        <div class="review-box">
                            <div class="media">
                                <img class="mr-3" src="https://picsum.photos/50/50/" alt="Generic placeholder image">
                                <div class="media-body">
                                    <h5>Amanda Jackson</h5>
                                    <p class="user-post">CEO, NRD Group</p>
                                </div>
                            </div>
                            <p class="read">
                                It has survived not only five centuries, but also the leap into electronic typesetting,
                                remaining essentially unchanged. It was popularised in the 1960s with the race.
                            </p>
                            <img class="quote" src="img/icons/quote.svg" alt="">
                        </div>
                    </div>
                    <div class="swiper-slide">
                        <div class="review-box">
                            <div class="media">
                                <img class="mr-3" src="https://picsum.photos/50/50" alt="Generic placeholder image">
                                <div class="media-body">
                                    <h5>Amanda Jackson</h5>
                                    <p class="user-post">CEO, NRD Group</p>
                                </div>
                            </div>
                            <p class="read">
                                It has survived not only five centuries, but also the leap into electronic typesetting,
                                remaining essentially unchanged. It was popularised in the 1960s with the race.
                            </p>
                            <img class="quote" src="img/icons/quote.svg" alt="">

                        </div>
                    </div>
                    <div class="swiper-slide">
                        <div class="review-box">
                            <div class="media">
                                <img class="mr-3" src="img/icons/user.png" alt="Generic placeholder image">
                                <div class="media-body">
                                    <h5>Amanda Jackson</h5>
                                    <p class="user-post">CEO, NRD Group</p>
                                </div>
                            </div>
                            <p class="read">
                                It has survived not only five centuries, but also the leap into electronic typesetting,
                                remaining essentially unchanged. It was popularised in the 1960s with the race.
                            </p>
                            <img class="quote" src="img/icons/quote.svg" alt="">
                        </div>
                    </div>
                </div>
                <!-- Add Pagination -->
                <div class="swiper-pagination"></div>

            </div>
        </div>
    </section>
              
            
!

CSS

              
                :root {
  --theme-color: #3950ca;
  --bg-color: rgba(79, 48, 183, 0.06);
  --comp-color: #ff6584;
  --gradient: linear-gradient(#6a5fdd 0%, #241d8c 100%);
}
@import url('https://fonts.googleapis.com/css?family=Poppins:300,400,500,600,700,900&display=swap');
body {
     font-family: 'Poppins', sans-serif;
  margin:0;
  pading:0
}
.text-center {
  text-align:center;
  
}
h2,h1 {
  margin:0;
  padding-top:30px;
}

.bg-color {
  background: var(--bg-color);
}

.half-color-box {
  background: var(--gradient);
  height: 300px;
  margin-bottom: 100px;
}

.text-whtie {
  color: #fff !important;
}

.bold {
  font-weight: bolder;
}

.por {
  position: relative;
}

.review-box .quote {
  position: absolute;
  width: 40px;
  right: 10px;
  bottom: 10px;
}

.test-arrowbox {
  position: absolute;
  right: 20px;
  display: flex;
  top: 70px;
}

.review-box {
  border-radius: 3px;
  background: #fff;
  box-shadow: 0px 3px 20px rgba(0, 0, 0, 0.1);
  padding: 30px;
}

.review-box h5 {
  margin: 0;
}

.review-box p {
  margin-bottom: 0;
  margin-top: 10px;
  color: #7d8597;
}

.user-post {
  font-size: 14px;
  margin: 0 !important;
 
}

.swiper-testimonial {
  padding: 100px 20px;
  padding-top: 30px;
}

.half-color-box {
  background: var(--gradient);
  height: 300px;
  margin-bottom: 140px;
}

.test-arrowbox .swiper-button-next-test,
.test-arrowbox .swiper-button-prev-test {
  margin-right: 20px;
  /* background: var(--comp-color);2 */
  border-radius: 50%;
  --size: 55px;
  width: var(--size);
  height: var(--size);
  display: flex;
  align-items: center;
  justify-content: center;
}

.arrow-right {
  transform: rotate(180deg);
  margin-top: -8px;
}

.arrow {
  cursor: pointer;
  transition: all 0.2s ease-in;
}

.arrow:hover {
  transform: translateX(-15px);
}
              
            
!

JS

              
                var swiper = new Swiper('.swiper-container.swiper-testimonial', {
    slidesPerView: 3,
    spaceBetween: 30,
    pagination: {
        el: '.swiper-pagination',
        clickable: true,
    },
    navigation: {
        nextEl: '.swiper-button-next-test',
        prevEl: '.swiper-button-prev-test',
    },
});
              
            
!
999px

Console