JSFiddle - React, Tailwind, and code Playground
by JoshGough
HTML
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<title>Eagle Playbook Pro</title>
<style>
body {
background-color: #0f172a;
color: white;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
margin: 0;
padding: 10px;
display: flex;
flex-direction: column;
align-items: center;
height: 100vh;
overflow: hidden;
touch-action: none;
}
/* TOOLBAR */
.toolbar {
display: flex;
flex-wrap: wrap;
gap: 6px;
justify-content: center;
background: #1e293b;
padding: 8px;
border-radius: 8px;
box-shadow: 0 4px 6px rgba(0,0,0,0.5);
margin-bottom: 10px;
max-width: 900px;
width: 100%;
}
.row {
display: flex;
gap: 6px;
align-items: center;
width: 100%;
justify-content: center;
flex-wrap: wrap;
}
.divider { width: 100%; height: 1px; background: #334155; margin: 2px 0; }
button, label.btn {
background: #334155;
border: 1px solid #475569;
color: white;
padding: 6px 12px;
border-radius: 4px;
font-weight: 600;
font-size: 13px;
cursor: pointer;
user-select: none;
display: inline-flex;
align-items: center;
justify-content: center;
min-width: 30px;
}
button:active, label.btn:active { background: #000; transform: translateY(1px); }
.primary { background: #2563eb; border-color: #1d4ed8;...