JSFiddle - React, Tailwind, and code Playground
by adishardis
HTML
<div id="mains">
<div id="info1">Info 1</div>
<div id="info2"></div>
<div id="info3"></div>
<div id="filter"><p>Filter</p></div>
<div id="scroll">
<div class="main">
<div data-filter1="red" data-graph1="19" class='view view-tenth' >
<img src="http://hardis.synology.me/portalen/img/1.png" wIdth="150" height="120" style="position: absolute;">
<div style="background:black; opacity:0.6; width:200px; height:30px;"></div>
<img src="http://hardis.synology.me/portalen/img/stars/STARS2/3/2.png" style="position: absolute; top: 5px; left: 3px;width:90px;z-index:1111;"> <H6 style="font-size:11px;color:white;position: absolute;top: 9px; left: 106px;z-index:3311;">Jul,2012</H6>
<div class='mask'>
<h2 style="text-transform: uppercase;color: #333;width:120px;text-align: center;position: relative;font-size: 15px;border-bottom: 1px solid rgba(0, 0, 0, 0.3);background: transparent;margin: 0px 10px;padding: 5px;">NAME</h2>
<p>Kanal: <b> XXYY</b></p>
<p>förflyttning: <br \><b>6 enheter</b> </p>
<a class='info' href='http://adam.synology.me/portalen/main.php?id=3&scroll=8'>Gå vidare</a>
</div>
</div><div data-filter1="red" data-graph1="57" class='view view-tenth' ><img src="foretag/Effectris/Presentationer/Effectris/MCI 93/enheter/1.png" wIdth="150" height="120" style="position: absolute;">
<div style="background:black;opacity:0.6;width:200px;height:30px;"></div>
<img src="http://hardis.synology.me/portalen/img/stars/STARS2/3/4.png" style="position: absolute; top: 5px; left: 3px;width:90px;z-index:1111;"> <H6 style="font-size:11px;color:white;position: absolute;top: 9px; left: 106px;z-index:3311;">Oct,2012</H6>
<div class='mask'>
<h2 style="text-transform:...
CSS
html {
height: 100%;
}
#mains {
height:100%;
width:100%;
margin:5px;
padding-bottom:10px;
}
p {
color:white;
padding:5px;
}
#info1{
min-height:100px;
width:18%;
background-color:#8f8f8f;
float:left;
padding:5px;
}
#info2{
height:100%;
background-color:#fff;
float:left;
padding:5px;
}
#info3{
min-height:100px;
width:28%;
background-color:#8f8f8f;
float:right;
margin-right:15px;
padding:5px;
}
#filter{
height:30px;
width:98%;
background-color:#8f8f8f;
float:left;
Margin-top:10px;
border-radius:5px;
}
#scroll{
width:98%;
background-color:#8f8f8f;
float:left;
Margin-top:5px;
border-radius:5px;
padding-bottom:10px;
}.main{
position:relative;
margin: 0 auto;
width:95%;
height:180px;
overflow-x:scroll;
overflow-y:hidden;
white-space: nowrap;
}
.view {
width: 150px;
height: 120px;
margin: 10px;
display: inline-block;
border: 10px solid grey;
overflow: hidden;
position: relative;
text-align: center;
-webkit-box-shadow: 1px 1px 2px #E6E6E6;
-moz-box-shadow: 1px 1px 2px #e6e6e6;
box-shadow: 1px 1px 2px #E6E6E6;
cursor: default;
background: white url(../images/bgimg.jpg) no-repeat center center;
}
.view .mask,.view .content {
width: 150px;
height: 120px;
position: absolute;
overflow: hidden;
top: 0;
left: 0;
}
.view img {
display: block;
position: relative;
}
.view h2 {
text-transform: uppercase;
color: #fff;
text-align: center;
position: relative;
font-size: 17px;
padding: 10px;
background: rgba(0, 0, 0, 0.8);
margin: 20px 0 0 0;
}
.view p {
font-family: Georgia, serif;
font-style: italic;
font-size: 12px;
position: relative;
color: #fff;
padding: 5px 5px 5px;
text-align: center;
}
.view a.info {
display: inline-block;
text-decoration: none;
padding: 7px 14px;
background: #000;
color: #fff;
text-transform: uppercase;
...