JSFiddle - React, Tailwind, and code Playground
HTML
<script src="https://raw.github.com/woothemes/FlexSlider/master/jquery.flexslider.js"></script>
<div id="container">
<div class="flexslider">
<ul class="slides">
<li>
<img src="https://github.com/woothemes/FlexSlider/raw/master/demo-stuff/inacup_donut.jpg" />
<p class="flex-caption">Captions and cupcakes. Winning combination.</p>
</li>
<li>
<a href="#"><img src="https://github.com/woothemes/FlexSlider/raw/master/demo-stuff/inacup_pumpkin.jpg" /></a>
<p class="flex-caption">This image is wrapped in a link!</p>
</li>
<li>
<img src="https://github.com/woothemes/FlexSlider/raw/master/demo-stuff/inacup_samoa.jpg" />
<p class="flex-caption">2222This image is wrapped in a link!</p>
</li>
<li>
<img src="https://github.com/woothemes/FlexSlider/raw/master/demo-stuff/inacup_vanilla.jpg" />
<p class="flex-caption">Tawdawdhis image is wrapped in a link!</p>
</li>
</ul>
</div>
</div>
CSS
#container {width: 80%; max-width: 800px; margin: 0 auto;}
/* Browser Resets */
.flex-container a:active,
.flexslider a:active,
.flex-container a:focus,
.flexslider a:focus {outline: none;}
.slides {margin: 0; padding: 0; list-style: none;}
/* FlexSlider Necessary Styles
*********************************/
.flexslider {margin: 0; padding: 0;}
.flexslider .slides > li {display: none; -webkit-backface-visibility: hidden;} /* Hide the slides before the JS is loaded. Avoids image jumping */
.flexslider .slides img {max-width: 80%; display: inline; float:left}
/* 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%;}
/* No JavaScript Fallback */
/* If you are not using another script, such as Modernizr, make sure you
* include js that eliminates this class on page load */
.no-js .slides > li:first-child {display: block;}
/* FlexSlider Default Theme
*********************************/
.flexslider {background: #fff; position: relative; zoom: 1;}
.flexslider .slides {zoom: 1;}
.flexslider .slides > li {position: relative;}
/* Suggested container for "Slide" animation setups. Can replace this with your own, if you wish */
.flex-container {zoom: 1; position: relative;}
/* Caption style */
/* IE rgba() hack */
.flex-caption {width: 20%; padding: 2%; height:100%; margin: 0; float:right; background: rgba(0,0,0,.3); color: #fff; text-shadow: 0 -1px 0 rgba(0,0,0,.3); font-size: 14px; line-height: 18px;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
JavaScript
$(document).ready(function() {
$('.flexslider').flexslider({
controlsContainer : ".flexslider",
directionNav: false,
controlNav: false,
start: function(slider){
}
});
});