JSFiddle - React, Tailwind, and code Playground
by velo_ninja
HTML
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>BBM Einstellparameter - Digital Form</title>
<link href="https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600;700&display=swap" rel="stylesheet">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css">
<style>
/* Industrial Design Color Palette & Variables */
:root {
--primary-color: #004080; /* Darker, more professional blue */
--secondary-color: #4A5568; /* Slate Gray */
--tertiary-color: #E2E8F0; /* Light Gray for backgrounds */
--success-color: #28A745;
--danger-color: #DC3545;
--info-color: #17A2B8;
--background-light: #F7FAFC; /* Lighter background */
--background-card: #FFFFFF;
--background-section: #EDF2F7; /* Subtle light gray for sections */
--border-color: #CBD5E0; /* Lighter border */
--text-color-dark: #2D3748; /* Darker text for contrast */
--header-text-color: #FFFFFF;
--font-family: 'Open Sans', 'Roboto', 'Arial', sans-serif; /* Prioritize Open Sans for readability */
--border-radius: 6px; /* Slightly less rounded for a crisper look */
--box-shadow: 0 4px 12px rgba(0,0,0,0.08); /* Softer, subtle shadow */
--inset-shadow: inset 0 1px 3px rgba(0,0,0,0.1); /* Inset shadow for inputs */
--transition-speed: 0.2s ease-in-out;
--focus-glow: 0 0 0 3px rgba(0, 64, 128, 0.2); /* Softer focus glow */
}
* {
box-sizing: border-box;
}
body {
font-family: var(--font-family);
...