JSFiddle - React, Tailwind, and code Playground
by Maz Soma
HTML
<div class="download download-info">
<h1> DOWNLOAD </h1>
<ul>
<li><a href="#" target="_blank"> DOWNLOAD 1</a></li>
<li><a href="#" target="_blank"> DOWNLOAD 2</a></li>
<li><a href="#" target="_blank"> DOWNLOAD 3</a></li>
<li><a href="#" target="_blank"> DOWNLOAD 4</a></li>
</ul>
</div>
<div class="demo demo-info">
<h1> DEMO </h1>
<ul>
<li><a href="#" target="_blank"> DEMO 1 </a></li>
<li><a href="#" target="_blank"> DEMO 2 </a></li>
<li><a href="#" target="_blank"> DEMO 3 </a></li>
<li><a href="#" target="_blank"> DEMO 4 </a></li>
</ul>
</div>
CSS
@font-face {font-family:'Oswald';font-style:normal;font-weight:300;
src:local('Oswald Light'), local('Oswald-Light'), url(http://themes.googleusercontent.com/static/fonts/oswald/v8/HqHm7BVC_nzzTui2lzQTDT8E0i7KZn-EPnyo3HZu7kw.woff) format('woff');
}
/* CSS Slide Demo and Download Button */
.download {font-family:'Oswald';font-weight:400;position:relative;overflow:hidden;text-align:center;margin:1em auto;
width:auto;height:50px;line-height:50px;border-radius:3px;}
.download h1 {font-family:'Oswald';font-weight:400;position:absolute;color:#fff;text-shadow:2px 2px 0 rgba(0,0,0,0.1);font-size:30px;line-height:50px;margin:0;padding:0;width:100%;background-color:#20a3cb;transition: margin-left 0.6s cubic-bezier(0.1,0.5,0.2,1);border-radius:3px;}
.download:hover h1{margin-left:100%;opacity:0.7;}
.download ul {display:inline-block;margin:0;padding:0;}
.download ul li {position:static;display:inline-block;padding:0 .1em;}
.download ul li::before {display:none;}
.download ul li a {color:#fff;font-size:20px;margin:0;padding:.2em .4em;background:none;transition:all 0.5s ease;}
.download ul li a:hover {background:#20a3cb;color:#fff;border-radius:2px;}
.download-info{background:#1c94b9;box-shadow:0 0 3px rgba(0,0,0,0.3);}
.download-info h1{background-color:#20a3cb;}
.demo {font-family:'Oswald';font-weight:400;position:relative;overflow:hidden;text-align:center;margin:1em auto;width:auto;height:50px;line-height:50px;border-radius:3px;}
.demo h1 {font-family:'Oswald';font-weight:400;position:absolute;color:#fff;text-shadow:2px 2px 0 rgba(0,0,0,0.1);font-size:30px;line-height:50px;margin:0;
padding:0;width:100%;background-color:#a3acb2;transition: margin-left 0.6s cubic-bezier(0.1,0.5,0.2,1);border-radius:3px;}
.demo:hover h1{margin-left:100%;opacity:0.7;}
.demo ul {display:inline-block;margin:0;padding:0;}
.demo ul li {position:static;display:inline-block;padding:0 .1em;}
.demo ul li::before {display:none;}
.demo ul li a {color:#fff;font-size:20px;margin:0;padding:.2em...