JSFiddle - React, Tailwind, and code Playground
by Ishank Dubey
HTML
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" type="text/css" href="//fonts.googleapis.com/css?family=Droid+Serif" />
<style>
*{
box-sizing: border-box;
}
h1 {
margin-bottom: 60px;
font-size: 40px;
font-style: normal;
font-variant: normal;
font-weight: normal;
line-height: normal;
}
.container{
font-family: "Droid Serif", Georgia, Serif;
height:100%;
padding-top: 20px;
padding-left:20%;
width:100%;
text-align: center;
}
.container > div{
height:100%;
width:100%;
text-align: left;
/* margin-bottom: 30px; */
}
.container > div > span, .finalCost{
font-size: 25px;
font-style: normal;
font-variant: normal;
font-weight: bold;
line-height: 26.4px;
}
.table{
margin-top:40px;
overflow-x:auto;
}
.table > div{
width:100%;
max-width: 830px;
min-width: 788px;
}
.finalCost{
max-width: 830px;
margin-top: 30px;
padding-right: 13%;
font-size: 20px;
display:block;
min-height:50px;
}
.column-3, .column-2, .column-1{
display:inline-block;
font-size: 16px;
font-style: normal;
font-variant: normal;
text-align: left;
}
.tableHeader{
font-weight: bold;
}
.row1{
float:left;
border-bottom: solid 2px black;
}
.column-3{
width:50%;
}
.column-2{
width:20%;
}
.column-1{
width:10%;
}
.row2{
float: left;
height: 40px;
padding-top: 5px;
}
.column-2.row1, .column-1.row1,.column-1.row2,.column-2.row2{
text-align: center;
}
input{
display:inline-block;
width:70%;
height:30px;
float:left;
font-family:'Droid Serif', Georgia, Serif;
font-size: 16px;
font-style: normal;
font-variant: normal;
}
.buttonComboDiv{
width:30%;
height:30px;
float:left;
display:inline-block;
}
.buttonComboDiv > button{
position:relative;
width:23px;
height:14px;
background-color: gray;
border: none;
color: white;
text-align: center;
...