JSFiddle - React, Tailwind, and code Playground
by salitrapraveen
HTML
<div>
<p class="head"><span>REMINDERS</span>
</p>
<ul>
<li class="blue">ONE</li>
<li class="orange">TWO</li>
<li class="color2">THREE</li>
<li class="color3">FOUR</li>
<li class="yellow">FIVE</li>
<li class="green">SIX</li>
<li class="pink">SEVEN</li>
</ul>
</div>
CSS
@import url(http://fonts.googleapis.com/css?family=Roboto:100, 300, 400, 500, 700, 900);
@import url(http://fonts.googleapis.com/css?family=Carrois+Gothic+SC);
body {
background-color: #FFF;
font-family:'Carrois Gothic SC', sans-serif;
font-size: 16px;
font-weight: 300;
}
div {
width: 200px;
border-left: 2px solid;
border-right: 2px solid;
border-bottom: 2px solid;
border-color: #3D3E44;
float: left;
margin: 10px;
background-color: #3D3E44;
color: #B8B8B8;
}
ul {
list-style-type: none;
padding: 0;
margin: 6px 0 0 0;
}
ul li {
height: 40px;
line-height: 40px;
border-top: 1px solid white;
border-bottom: 1px solid white;
padding-left: 20px;
vertical-align: middle;
}
ul li:first-child {
border-top: 2px solid;
}
ul li:last-child {
border-bottom: 2px solid;
}
.blue {
background-color: #21D6E6;
color: #fff;
}
.orange {
background-color: #FF6218;
color: #fff;
}
.color2 {
background-color: #336994;
color: #FFF;
}
.color3 {
background-color: #BE5F89;
color: #fff;
}
.yellow {
background-color: #FFBC2D;
color: #fff;
}
.green {
background-color: #49E28C;
color: #fff;
}
.pink {
background-color: #F06;
color: #fff;
}
.head {
display: block;
text-align: center;
font-size: 1.1em;
font-weight: 400;
margin: 0px;
}
.head span {
border-bottom: 2px solid #73B6FF;
color: #fff;
padding: 0 4px;
text-transform: uppercase;
}