JSFiddle - React, Tailwind, and code Playground
by velo_ninja
HTML
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<title>Einstellparameter Digital Form</title>
<style>
body {
font-family: Arial, sans-serif;
background: #f0f2f5;
padding: 20px;
}
h1 {
text-align: center;
background: #004c97;
color: white;
padding: 10px;
border-radius: 8px;
}
table {
width: 100%;
border-collapse: collapse;
margin-bottom: 30px;
background: white;
border-radius: 8px;
overflow: hidden;
}
th, td {
border: 1px solid #ccc;
text-align: center;
padding: 6px;
font-size: 0.9em;
}
th {
background: #004c97;
color: white;
}
.section-title {
background: #007bff;
color: white;
padding: 10px;
margin-top: 30px;
border-radius: 5px;
font-weight: bold;
}
input {
width: 100%;
box-sizing: border-box;
padding: 4px;
font-size: 0.9em;
}
.input-small {
width: 60px;
}
.header-grid {
display: flex;
justify-content: space-between;
background: #004c97;
color: white;
padding: 10px;
border-radius: 8px;
margin-bottom: 20px;
}
.header-grid > div {
flex: 1;
}
</style>
</head>
<body>
<h1>BBM Maschinenbau - Einstellparameter</h1>
<div class="header-grid">
<div>
<strong>BBM Maschinenbau und Vertriebs GmbH</strong><br>
Dieselstraße 4<br>
33449 Langenberg<br>
Tel: +49 (0) 52 48 82 38 – 0<br>
Fax: +49 (0) 52 48 82 38 – 295
</div>
<div>
<label>Employee: <input type="text" /></label><br>
<label>Date: <input type="date" /></label>
</div>
</div>
<div class="section-title">Customer / Machine / Mold / Material Data</div>
<table>
<tr>
<th>Order-No.</th><td><input /></td>
...