JSFiddle - React, Tailwind, and code Playground
Color Inspiration
HTML
<section class="container">
<header>
<h1>Color Inspiration</h1>
</header>
<!-- Box -->
<section class="box">
<section class="color-left grapefruit-light"></section>
<section class="color-right grapefruit-dark"></section>
<h1>Grapefruit</h1>
<p>#ED5565 #DA4453</p>
</section>
<!-- Box -->
<!-- Box -->
<section class="box">
<section class="color-left bittersweet-light"></section>
<section class="color-right bittersweet-dark"></section>
<h1>Bittersweet</h1>
<p>#FC6E51 #E9573F</p>
</section>
<!-- Box -->
<!-- Box -->
<section class="box">
<section class="color-left sunflower-light"></section>
<section class="color-right sunflower-dark"></section>
<h1>Sunflower</h1>
<p>#FFCE54 #F6BB42</p>
</section>
<!-- Box -->
<!-- Box -->
<section class="box">
<section class="color-left grass-light"></section>
<section class="color-right grass-dark"></section>
<h1>Grass</h1>
<p>#A0D468 #8CC152</p>
</section>
<!-- Box -->
<!-- Box -->
<section class="box">
<section class="color-left mint-light"></section>
<section class="color-right mint-dark"></section>
<h1>Mint</h1>
<p>#48CFAD #37BC9B</p>
</section>
<!-- Box -->
<!-- Box -->
<section class="box">
<section class="color-left aqua-light"></section>
<section class="color-right aqua-dark"></section>
<h1>Aqua</h1>
<p>#4FC1E9 #3BAFDA</p>
</section>
<!-- Box -->
<!-- Box -->
<section class="box">
<section class="color-left blueJeans-light"></section>
<section class="color-right blueJeans-dark"></section>
<h1>Blue Jeans</h1>
<p>#5D9CEC #4A89DC</p>
</section>
<!-- Box -->
<!-- Box -->
<section class="box">
<section class="color-left lavander-light"></section>
<section class="color-right...
CSS
@import url(http://fonts.googleapis.com/css?family=Roboto:400,100,300,300italic,400italic,500,500italic,700,700italic,900,900italic,100italic);
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
margin: 0;
padding: 0;
border: 0;
font-size: 100%;
font: inherit;
vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
display: block;
}
body {
line-height: 1;
}
ol, ul {
list-style: none;
}
blockquote, q {
quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
content: '';
content: none;
}
table {
border-collapse: collapse;
border-spacing: 0;
}
body {
font-family: 'Roboto', sans-serif;
background-color: #F0F2F5;
}
section.container {
width: 592px;
height: auto;
margin: 0 auto;
}
section.container header {
margin: 25px 0;
padding-bottom: 25px;
border-bottom: 1px dotted #AAB2BD;
}
section.container header h1 {
font-weight: 200;
font-size: 3em;
color: #656D78;
text-align: center;
}
section.box {
width: 128px;
background-color: #FFFFFF;
box-shadow: 0 2px 6px #CCC;
border-radius: 5px;
display: block;
float: left;
margin: 10px;
}
section.box h1 {
font-weight: 400;
font-size: 14px;
color: #494A4A;
display: block;
float: left;
padding: 5px 0px 0px 5px;
}
section.box p {
font-weight: 300;
font-size: 11px;
color: #999999;
display: block;
float: left;
padding: 5px 0px 5px 5px;
}
section.color-left {
width: 64px;
height: 50px;
background-color:...