JSFiddle - React, Tailwind, and code Playground
HTML
<!DOCTYPE html>
<html lang="en">
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta charset="UTF-8">
<title>Printer</title>
</head>
<body>
<div class="title">
<h3>Printer</h3>
</div>
<div class="container">
<!-- FORM -->
<form>
<!-- Frist Text Field -->
<div class="form-group">
<label for="">Example textarea</label>
<textarea class="form-control" id="" rows="3"></textarea>
</div>
<!-- Second Text Field -->
<div class="form-group">
<label for="">Example textarea</label>
<textarea class="form-control" id="" rows="3"></textarea>
</div>
<!-- Selector -->
<div class="form-group">
<label for="">Example select</label>
<select class="form-control" id="">
<option>1</option>
</select>
</div>
<!-- Name Input -->
<div class="form-group">
<label for="name">Name: </label>
<input type="text" class="form-control" id="name">
</div>
<!-- IP Input -->
<div class="form-group">
<label for="IP">IP <i>( no http:// )</i>: </label>
<input type="text" class="form-control" id="IP">
</div>
<!-- Port Input -->
<div class="form-group">
<label for="port">Port: </label>
<input type="text" class="form-control" id="port">
</div>
<!-- Pass Input -->
<div class="form-group">
<label for="pass">Pass: </label>
<input type="password" class="form-control" id="pass">
</div>
<!-- Buttons -->
<div class="form-group">
<button id="addIP" class="btn btn-primary">Add IP</button>
<button id="removeSelectedIP" class="btn btn-primary">Remove Selected IP</button>
<button id="saveIPsToDevice" class="btn...
CSS
body {
margin: 0;
font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";
font-size: 1rem;
font-weight: 400;
line-height: 1.5;
color: #fff;
text-align: left;
background-color: #333;
}
.container {
padding-right: 15px;
padding-left: 15px;
margin-right: auto;
margin-left: auto;
}
.title {
background-color: #d42020;
}
.form-group {
margin-bottom: 1rem;
}
.form-control {
display: block;
box-sizing: border-box;
width: 100%;
padding: .375rem .75rem;
font-size: 1rem;
line-height: 1.5;
color: #fff;
background-color: #555;
background-clip: padding-box;
border: 1px solid #777;
border-radius: .25rem;
transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}
.form-group label {
display: inline-block;
margin-bottom: .5rem;
}
.btn {
display: inline-block;
font-weight: 400;
text-align: center;
white-space: nowrap;
vertical-align: middle;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
border: 1px solid transparent;
padding: .375rem .75rem;
font-size: 1rem;
line-height: 1.5;
border-radius: .25rem;
transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
cursor: pointer;
}
.btn-primary {
color: #fff;
background-color: #666;
border-color: #777;
}
.btn-primary:hover {
color: #fff;
background-color: #444;
border-color: #555;
}
:focus {
outline-color: #9e9e9e;
}