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

              
                
<!-- Modal -->
<div class="modal fade show" id="modalTour" data-show="true" tabindex="-1" role="dialog" data-keyboard="false" data-backdrop="static">
  <div class="modal-dialog modal-dialog-centered" role="document">
    <div class="modal-content">
      <div class="modal-body">
        <div class="slider">
					<div class="itm">
						<div class="ilustration">
							<img src="https://assets-global.website-files.com/5bcb5ee81fb2091a2ec550c7/5ec376cc49f524997ab3639d_peach-thumbnail-800px.png" alt="">
						</div>
						<h3>Chequeamos el auto</h3>
						<p>Un experto mecánico se comunicará con el dueño para fijar una visita y revisar el estado integral del vehículo.</p>
						<div class="content-button">
							<button type="button" class="next btn-da-primary" >Siguiente</button>
						</div>
					</div>
					<div class="itm">
						<div class="ilustration">
							<img src="https://assets-global.website-files.com/5bcb5ee81fb2091a2ec550c7/5ec376cc49f524997ab3639d_peach-thumbnail-800px.png" alt="">
						</div>
						<h3>Te llega el informe</h3>
						<p>Después de la revisión mecánica, te enviaremos el informe vía email. Si no lo realizamos <strong>te devolvemos el dinero</strong>.</p>
						<div class="content-button">
							<button type="button" class="next btn-da-primary" >Siguiente</button>
						</div>
					</div>
					<div class="itm">
						<div class="ilustration">
							<img src="https://assets-global.website-files.com/5bcb5ee81fb2091a2ec550c7/5ec376cc49f524997ab3639d_peach-thumbnail-800px.png" alt="">
						</div>
						<h3>¡Listo para tomar una decisión!</h3>
						<p>Con informe del chequeo mecánico podrás tener la <strong>seguridad sobre el auto que te interesa y así tomar una decisión de compra</strong>.</p>
						<div class="content-button">
							<button type="button" class="btn-da-primary" data-dismiss="modal" aria-label="Close">Entendido!</button>
						</div>
					</div>
				</div>
				<div class="tour-dots"></div>
      </div>
    </div>
  </div>
</div>
              
            
!

CSS

              
                /* Please ❤ this if you like it! */
/* Follow Me https://codepen.io/designfenix */

$primaryFont : 'Poppins', sans-serif;
$secondaryFont : 'Source Sans Pro', sans-serif;

/*START COLORS v2*/
$primaryColor : #4379FF;
$secondaryColor : #F05D5D;
$darkSpace : #353B48;
$lightSpace : #A7B1C6;
$whiteSmoke : #F3F5FF;

$success : #72D693;
$error : #E83E3E;
$attention : #F6C165;
/*END COLORS v2*/

/*Piso clases de modal de boostrap 4*/
.modal{
	@media (max-width:768px){
		margin:0;
		padding:0!important;
	}
	.modal-dialog{
		@media (max-width:768px){
			margin:0;
			max-width:unset;
		}
		.modal-content{
			border-radius: 12px;
			@media (max-width: 768px){
				border-radius: 0;
				height: 100vh;
			}
		}
	}
}
/*Clase del slider interno*/
.slider{
	margin: 0;
	width: 100%;
	height:100%;
	.slick-prev{
		display:none!important;
	}
	.itm{
		text-align: center;
		min-height: 350px;
		display: block;
		width:100%;
		outline: 0;
		padding: 20px;
		padding-top:0;
		.ilustration{
			display: block;
			max-width: 250px;
			margin: 20px auto;
			margin-top:0;
			text-align: center;
			img{
				max-width: 250px;
			}
		}
		h3{
			font-family: $primaryFont;
			font-weight: bold;
			color: $darkSpace;
			text-align: center;
			font-size: 22px;
			margin-bottom: 20px;
		}
		p{
			font-family: $secondaryFont;
			color: $darkSpace;
			font-size: 16px;
			text-align: center;
			padding: 0 30px;
			@media (max-width: 768px){
				padding: 0;
			}
		}
		.content-button{
			text-align: center;
			margin-top: 25px;
			button{
				outline:0;
			}
		}
	}
}

.slick-dots {
	list-style: none;
	margin: 0;
	padding: 0;
	display:block;
	text-align:center; 
	.slick-active {
		button {
			height: 15px;
			width: 15px;
			transform: scale(1);
			background-color: $primaryColor;
		}
	}
	li {
		display:inline-block;
		margin:0 4px;
		padding:0;
		height: 15px;
		width: 15px;
		button {
			transition: ease all .3s;
			background-color:$lightSpace;
			border: 0;
			border-radius:50%;
			opacity: 1;
			display: block;
			height: 15px;
			width: 15px;
			outline: none;
			line-height: 0px;
			font-size: 0px;
			cursor: pointer;
			transform: scale(.7);
			&:hover, &:focus {
				//background-color:$slick-btn-bg-color__hover;
			}
		}
	}
}


/* START NEW GENERIC BTN */
.btn-da-primary, .btn-da-primary:visited, .btn-da-primary:focus {
  background-color: $primaryColor;
  font-size: 16px;
  font-weight: bold;
  font-family: $primaryFont;
  color: white;
  display: inline-block;
  text-align: center;
  min-width: 140px;
  border-radius: 25px;
  padding: 10px 25px;
  border: 1px solid transparent;
  transition: ease all 0.3s;
  margin-bottom: 13px;
  text-transform: uppercase;
  cursor: pointer;
  @media (max-width: 768px) {
    font-size: 16px;
  }
  &:hover {
    background-color: lighten($primaryColor, 8%);
    color: white;
  }

  &:active {
    background-color: darken($primaryColor, 8%);
  }

  &:disabled, &.disabled {
    background-color: $lightSpace;
    cursor: default;
    user-select: none;
  }

  &.outline {
    border-color: $primaryColor;
    color: $primaryColor;
    background-color: transparent;

    &:hover {
      background-color: $primaryColor;
      color: white;
    }

    &:active {
      background-color: darken($primaryColor, 8%);
    }

    &.disabled {
      background-color: $lightSpace;
    }
  }
  &.small{
    padding: 10px 20px;
    min-width: unset;
    font-size: 12px;
    line-height: 100%;
  }
}

/* END NEW GENERIC BTN */
              
            
!

JS

              
                $(document).ready(function(){
	$('.slider').each(function (index, sliderWrap) {
			var $next = $(sliderWrap).find('.next');
			$(sliderWrap).slick({
				dots: true,
				infinite: false,
				slidesToShow: 1,
				slidesToScroll: 1,
				autoplay: false,
				nextArrow: $next
			});
	});
	$('#modalTour').on('shown.bs.modal', function (e) {
    $('.slider').resize();
  })
	$('#modalTour').modal('show');
});
              
            
!
999px

Console