WEBLEB
Inicio
Editora de código
Iniciar sesión
Pro
Español
English
Français
Español
Formulario de contacto HTML CSS
6,872
loader7
Abrir en el editor
Publica tu código
4
Recomendado
15 January 2026
Lienzo de juego HTML5 con tiempo de ejecución de Construct 2
5 December 2024
Un código de logicalcode2
24 November 2025
Cargador de juegos Unity WebGL con soporte publicitario
HTML
Copy
Basic HTML CSS Contact Form
Email
Subject
How Can We Help You?
Submit
CSS
Copy
* { box-sizing: border-box; } *:focus { outline: none; } body { display: flex; justify-content: center; align-items: center; height: 100vh; background: #000000; font-family: 'Arial', sans-serif; overflow: hidden; } .button{ display: flex; justify-content: center; align-items: center; } .form-container { width: 420px; border: 1px solid #414141; padding: 32px 24px; font-size: 14px; font-family: inherit; color: white; display: flex; flex-direction: column; gap: 20px; box-sizing: border-box; border-radius: 16px; } .form-container button:active { scale: 0.95; } .form-container .form { display: flex; flex-direction: column; gap: 20px; } .form-container .form-group { display: flex; flex-direction: column; gap: 2px; } .form-container .form-group label { display: block; margin-bottom: 5px; color: #717171; font-weight: 600; font-size: 12px; } .form-container .form-group input { width: 100%; padding: 12px 16px; border-radius: 8px; color: #fff; font-family: inherit; background-color: transparent; border: 1px solid #414141; } .form-container .form-group textarea { width: 100%; padding: 12px 16px; border-radius: 8px; resize: none; color: #fff; height: 96px; border: 1px solid #414141; background-color: transparent; font-family: inherit; } .form-container .form-group input::placeholder { opacity: 0.5; } .form-container .form-group input:focus { outline: none; border-color: #e81cff; } .form-container .form-group textarea:focus { outline: none; border-color: #e81cff; } .form-container .form-submit-btn { font-family: inherit; color: #717171; font-weight: 600; width: 40%; background: #313131; border: 1px solid #414141; padding: 12px 16px; cursor: pointer; border-radius: 6px; } .form-container .form-submit-btn:hover { background-color: #fff; border-color: #fff; }
JS
Copy
/* Replace with your JS Code (Leave empty if not needed) */