JSFiddle - React, Tailwind, and code Playground
by bjorn1990
HTML
<div id="container">
<div class="box-wrapper">
<div class="box">
<h2> Administratie </h2>
<ul>
<li> <a href="#">» Bekijk openstaande facturen</a> </li>
<li> <a href="#">» Bekijk huidige activiteit robot</a> </li>
<li> <a href="#">» Bekijk klanten register</a> </li>
<li> <a href="#">» Bekijk orders</a> </li>
<li> <a href="#">» Voeg nieuwe klant toe</a> </li>
<li> <a href="#">» Voeg nieuwe order toe</a> </li>
<li> <a href="#">» Pas order aan</a> </li>
</ul>
</div> <!-- Closing box 1 -->
<div class="box">
<h2> Magazijn </h2>
<ul>
<li> <a href="#">» Bekijk huidige activiteit robot</a> </li>
<li> <a href="#">» Bekijk orders</a> </li>
<li> <a href="#">» Voeg nieuwe order toe</a> </li>
</ul>
</div> <!-- Closing box 2 -->
<div class="box">
<h2> Nog iets </h2>
<ul>
<li> <a href="#">» Optie 1</a> </li>
<li> <a href="#">» Optie 2</a> </li>
<li> <a href="#">» Optie 3</a> </li>
</ul>
</div> <!-- Closing box 3 -->
</div>
<!-- vragen/queries aan de database: -->
<br><br><br><br>
<div>1# Vraag: Hoeveel orders zijn er nog niet verzameld</div>
<div>1# Query: </div>
<div>2# Vraag: Hoeveel orders heeft een bepaalde klant gedaan</div>
<div>2# Query: </div>
<div>3# Vraag: Hoevaak heeft robot X een bestelling verzameld voor klant X</div>
<div>3# Query: </div>
<div>4# Vraag: Hier moet ook nog een vraag</div>
<div>4# Query: </div>
<div>5# Vraag: Hier moet ook nog een vraag</div>
<div>5# Query: </div>
</div>
CSS
@import url('https://fonts.googleapis.com/css?family=Bungee|Poiret+One');
body {
margin: 0;
}
#container {
width: 1200px;
min-height: 200px;
margin: 0 auto;
background-color: skyblue; /* Temperary color to keep track of workspace */
}
.box-wrapper {
display: flex;
flex-direction: row;
flex-wrap: nowrap;
padding: 0 5px 0 5px; /* keep this half the size of the margin from .box, for centering .box */
}
.box {
flex: 1;
padding: 15px;
margin: 10px;
border: 1px solid #fff;
background-color: #1a1a1a;
color: #fff;
font-family: 'Poiret One', cursive;
font-size: 25px;
box-shadow: 0 0 3px 3px #1a1a1a;
}
.box h2 {
text-align: center;
text-decoration: underline;
font-family: 'Bungee', cursive;
font-size: 25px;
}
/* .box option menu's */
.box ul {
list-style: none;
padding: 0;
margin: 0;
}
.box a {
display: block;
text-decoration: none;
color: #fff;
padding: 5px 0;
}
.box a:hover {
font-weight: bold;
background-color: #eee;
color: #1a1a1a;
padding-left: 15px;
-webkit-border-radius: 12px; /* Safari 3-4, iOS 1-3.2, Android 1.6- */
-moz-border-radius: 12px; /* Firefox 1-3.6 */
border-radius: 12px; /* Opera 10.5, IE 9, Safari 5, Chrome, Firefox 4, iOS 4, Android 2.1+ */
}