JSFiddle - React, Tailwind, and code Playground

by David McCormack

HTML

<script src="jquery.flexslider-min.js "></script>
<div class="flex-container">
	<div class="flexslider">
		<ul class="slides">
			<li>
				<a href="#"><img src="http://placehold.it/350x150"></a>
                                <p class="flex-caption">Caption goes here.</p>
			</li>
			
			<li>
				<a href="#"><img src="http://placehold.it/350x150"></a>
                                <p class="flex-caption">Caption goes here.</p>
			</li>
			
			<li>
				<a href="#"><img src="http://placehold.it/350x150"></a>
                                <p class="flex-caption">Caption goes here.</p><div class="caption-img"><img src="http://placehold.it/16x16"></div>
			</li>
		</ul>
        </div>
	</div>
</div>

<script>
$(document).ready(function () {
	$('.flexslider').flexslider({
		animation: 'fade',
		controlsContainer: '.flexslider'
	});
});
</script>

CSS

/* Browser Resets */
.flex-container a:active,
.flexslider a:active,
.flex-container a:focus,
.flexslider a:focus  { outline: none; }

.slides,
.flex-control-nav,
.flex-direction-nav {
	margin: 0;
	padding: 0;
	list-style: none;
}

.flexslider a img { outline: none; border: none; }

.flexslider {
	margin: 0;
	padding: 0;
}

/* Hide the slides before the JS is loaded. Avoids image jumping */
.flexslider .slides > li {
	display: none;
	-webkit-backface-visibility: hidden;
}

.flexslider .slides img {
    max-height:20vmax;
    min-height:36vmax;
	min-width: 12vmax;
        max-width:45vmax;
	display: block;
        border-radius: 25px;
}
.flexslider .slides img {
    min-width:100%;
    max-width:100%;
}
/* Clearfix for the .slides element */
.slides:after {
	content: ".";
	display: block;
	clear: both;
	visibility: hidden;
	line-height: 0;
	height: 0;
}

html[xmlns] .slides { display: block; }
* html .slides { height: 1%; }



/* Theme Styles */
.flexslider {
	position: relative;
	zoom: 1;
	

}


.flex-container {
        padding-left:0%;
	min-width: 45vmax;
	max-width: 45vmax;
}

.flexslider .slides { 
        zoom: 1; 
        min-width: 45vmax;
	max-width: 45vmax;
}



/* Direction Nav */
/*
.flex-direction-nav a {
	display: block;
	position: absolute;
	margin: 0 0 0 0;
	width: 35px;
	height: 35px;
	top: 50%;
	cursor: pointer;
	text-indent: -9999px;
	z-index: 9999;
	background-color: #1493D1;
	
       
}

.flex-direction-nav a:before {
	display: block;
	position: absolute;
	content: '';
	width: 9px;
	height: 13px;
	top: 11px;
	left: 11px;
	background: url(../img/arrows.png) no-repeat;
}

.flex-direction-nav a:after {
	display: block;
	position: absolute;
	content: '';
	width: 0;
	height: 0;
	top: 35px;
}

.flex-direction-nav .flex-next {
	right: 0%;

	-webkit-border-radius: 3px 0 0 3px;
	-moz-border-radius: 3px 0 0 3px;
	border-radius: 3px 0 0 3px;
}

.flex-direction-nav .flex-prev {
	left: 0%;

	-webkit-border-radius: 0 3px 3px 0;
	-moz-border-radius: 0 3px...