JSFiddle - React, Tailwind, and code Playground
by gregsqueeb
HTML
<!DOCTYPE html>
<head>
</head>
<div>
<div id="inner">
<span></span>
<ul><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li></ul>
<p>3/14</p>
</div>
<p>3/14</p>
</div>
</html>
CSS
html{
font-family: "helvetica neue", helvetica, sans-serif;
}
#inner{
margin:-1px 0 0 -1px;
border: 1px solid #9a9a9a;
height: 30px;
width: 92%;
background: rgb(41,206,225); /* Old browsers */
background: -moz-linear-gradient(top, rgba(41,206,225,1) 0%, rgba(41,206,225,1) 50%, rgba(17,200,222,1) 51%, rgba(17,200,222,1) 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(41,206,225,1)), color-stop(50%,rgba(41,206,225,1)), color-stop(51%,rgba(17,200,222,1)), color-stop(100%,rgba(17,200,222,1))); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top, rgba(41,206,225,1) 0%,rgba(41,206,225,1) 50%,rgba(17,200,222,1) 51%,rgba(17,200,222,1) 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top, rgba(41,206,225,1) 0%,rgba(41,206,225,1) 50%,rgba(17,200,222,1) 51%,rgba(17,200,222,1) 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(top, rgba(41,206,225,1) 0%,rgba(41,206,225,1) 50%,rgba(17,200,222,1) 51%,rgba(17,200,222,1) 100%); /* IE10+ */
background: linear-gradient(top, rgba(41,206,225,1) 0%,rgba(41,206,225,1) 50%,rgba(17,200,222,1) 51%,rgba(17,200,222,1) 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#29cee1', endColorstr='#11c8de',GradientType=0 ); /* IE6-9 */
-webkit-border-radius: 20px;
-moz-border-radius: 20px;
border-radius: 20px;
color: #fff;
float: left;
position: relative;
z-index: 999;
overflow: hidden;
}
#inner p{
font-weight: bold;
width: 193px;
text-align: right;
margin:5px 5px 0 0;
position: absolute;
z-index: 999;
}
body > div > p {
font-weight: bold;
display: inline;
float: right;
position: absolute;
right: 0px;
margin:5px 7px 0 0;
}
body > div{
-webkit-border-radius: 20px;
-moz-border-radius: 20px;
border-radius: 20px;
margin:6px 0 0 6px;
display:block;
height: 30px;
width:...