JSFiddle - React, Tailwind, and code Playground
by Sunny Sharma
HTML
<main>
<section scrumboard="" class="scrumboard">
<ol class="lanes">
<li class="lane droppable">
<h1 class="lane-title">todo</h1>
</li>
<li class="lane droppable">
<h1 class="lane-title">in progress</h1>
</li>
<li class="lane droppable">
<h1 class="lane-title">test</h1>
</li>
<li class="lane droppable">
<h1 class="lane-title">done</h1>
</li>
</ol>
</section>
</main>
CSS
html,body,main,section {
height: 100%;
width: 100%;
overflow: hidden;
box-sizing: border-box;
}
body {
border-width: 20px;
background-color: red;
}
.scrumboard {
background-color: #aaa;
}
.lanes {
box-sizing: border-box;
display: flex;
flex-wrap: nowrap;
font-size: 0;
height: 100%;
list-style-type: none;
margin: 50px 0 0;
padding: 0px;
}
.lane {
height: 100%;
border: 1px dashed black;
margin: 0 5px 10px 5px;
box-sizing: border-box;
display: inline-block;
text-align: center;
flex: 1 100%;
}
.lane-title {
font: 100 20px/40px 'Titillium Web';
margin-top: -35px;
color: #253248;
text-transform: uppercase;
}