JSFiddle - React, Tailwind, and code Playground
by prince4prodigy
HTML
<div id="sf">
<img src="https://encrypted-tbn2.gstatic.com/images?q=tbn:ANd9GcRbcEBJyjNXHTWk2atX25_IlHSRQQ0Jp_ulrLUY4iX4CDdkA3Bdug" class="image">
<div class="K"></div>
<div class="F">
<div id="container-f">
<div class="img-circle pos" id="f1">a</div>
<div class="img-circle pos" id="f2">b</div>
<div id="df3"></div>
</div>
</div>
<div class="D">
<div class="img-circle pos">a</div>
</div>
<div class="W">
<div class="img-circle pos">a</div>
</div>
</div>
CSS
#sf{
position: relative;
}
#sf div{
margin:0px;
position: absolute;
height: 100%;
left: 0;
top: 0;
}
.K{
width: 10%; background-color: red; left: 0 !important;
}
.F{
width: 30%; background-color: gray; left: 10% !important;
}
.D{
width: 30%; background-color: blue; left: 40% !important;
}
.W{
width: 30%; background-color: Yellow; left: 70% !important;
}
#container-f, #container-md, #container-fw{
position: relative;
width: 100%;
height: 100%;
}
.pos{
background-color: white;
position: absolute;
width: 23px !important;
height: 23px !important;
}
#f1{
left: 40% !important;
top: 40% !important;
}
#f2{
left: 10% ;
top: 10% ;
}
/*!
* Bootstrap v2.3.2
*
* Copyright 2012 Twitter, Inc
* Licensed under the Apache License v2.0
* http://www.apache.org/licenses/LICENSE-2.0
*
* Designed and built with all the love in the world @twitter by @mdo and @fat.
*/
.clearfix {
*zoom: 1;
}
.clearfix:before,
.clearfix:after {
display: table;
line-height: 0;
content: "";
}
.clearfix:after {
clear: both;
}
.hide-text {
font: 0/0 a;
color: transparent;
text-shadow: none;
background-color: transparent;
border: 0;
}
.input-block-level {
display: block;
width: 100%;
min-height: 30px;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
nav,
section {
display: block;
}
audio,
canvas,
video {
display: inline-block;
*display: inline;
*zoom: 1;
}
audio:not([controls]) {
display: none;
}
html {
font-size: 100%;
-webkit-text-size-adjust: 100%;
-ms-text-size-adjust: 100%;
}
a:focus {
outline: thin dotted #333;
outline: 5px auto -webkit-focus-ring-color;
outline-offset: -2px;
}
a:hover,
a:active {
outline: 0;
}
sub,
sup {
position: relative;
font-size: 75%;
line-height: 0;
vertical-align: baseline;
}
sup {
top:...