JSFiddle - React, Tailwind, and code Playground
by leongaban
HTML
<div style="float:left; width:100%; background:gray;">
<div class="choices-col-left">
<div class="blueBtn-holder" id="blueBtnHolder-1">
<div class="blueBtn" id="blue-btn-1" style="display: block;">Actor</div>
</div>
<div class="blueBtn-holder" id="blueBtnHolder-2">
<div class="blueBtn" id="blue-btn-2" style="display: block;">Band</div>
</div>
<div class="blueBtn-holder" id="blueBtnHolder-3">
<div class="blueBtn" id="blue-btn-3" style="display: block;">Reality Contestant</div>
</div>
</div>
<div class="choices-col-right" style="background:brown;">
<div class="tags-holder" id="tagsHolder-1"><span>Genres:</span><p>Adult Animated</p></div>
<div class="tags-holder" id="tagsHolder-2"><span>Genres:</span><p>Adult Animated, Anime, Award Shows, Behind the Scenes, Christian Programming, Comedy, Documentary, Drama, Game Show, Kids & Family, Music, News, Reality, Sports, Talk Show, Variety</p></div>
<div class="tags-holder" id="tagsHolder-3"><span>Genres:</span><p>Adult Animated, Anime, Award Shows, Behind the Scenes, Christian Programming, Comedy, Documentary, Drama, Game Show, Kids & Family, Music, News, Reality, Sports, Talk Show, Variety</p></div>
</div>
</div>
CSS
body {
font-family: Verdana, Arial, sans-serif;
}
.choices-col-left {
float: left;
width: auto;
}
.choices-col-right {
float: left;
max-width: 500px;
}
.choices-col-right .tags-holder {
margin-bottom: 10px;
background: orange;
}
.blueBtn {
float: left;
padding: 10px 20px;
margin: 0 10px 10px 0;
font-family: Verdana, Arial, sans-serif;
font-size: 0.750em;
color: #fff;
background: #2878ae;
border: 1px solid #989898;
background-image: -ms-linear-gradient(top, #4ea2d8 0%, #2878ae 90%);
background-image: -moz-linear-gradient(top, #4ea2d8 0%, #2878ae 90%);
background-image: -o-linear-gradient(top, #4ea2d8 0%, #2878ae 90%);
background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #4ea2d8), color-stop(.9, #2878ae));
background-image: -webkit-linear-gradient(top, #4ea2d8 0%, #2878ae 90%);
background-image: linear-gradient(to bottom, #4ea2d8 0%, #2878ae 90%);
cursor: pointer;
}
/* Rollovers */
.blueBtn:hover {
background-image: linear-gradient(bottom, rgb(49,141,190) 21%, rgb(94,179,225) 61%);
background-image: -o-linear-gradient(bottom, rgb(49,141,190) 21%, rgb(94,179,225) 61%);
background-image: -moz-linear-gradient(bottom, rgb(49,141,190) 21%, rgb(94,179,225) 61%);
background-image: -webkit-linear-gradient(bottom, rgb(49,141,190) 21%, rgb(94,179,225) 61%);
background-image: -ms-linear-gradient(bottom, rgb(49,141,190) 21%, rgb(94,179,225) 61%);
background-image: -webkit-gradient(
linear,
left bottom,
left top,
color-stop(0.21, rgb(49,141,190)),
color-stop(0.61, rgb(94,179,225))
);
}