Run ❯
Result Size:
813
x
856
↺
📋
📚
DevNotes
<!DOCTYPE html> <html lang="es"> <head> <meta charset="UTF-8"> <title>Mi Tarjeta</title> <style> body { font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; background: #090D16; color: #F8FAFC; display: flex; align-items: center; justify-content: center; min-height: 90vh; margin: 0; } .card { background: #111827; border: 1px solid #374151; border-radius: 12px; padding: 2rem; max-width: 360px; text-align: center; box-shadow: 0 10px 25px rgba(0,0,0,0.5); } .badge { background: #4F46E5; color: white; padding: 0.25rem 0.75rem; border-radius: 9999px; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; } h1 { font-size: 1.5rem; margin: 1rem 0 0.5rem; color: #38BDF8; } p { color: #94A3B8; font-size: 0.95rem; line-height: 1.5; } button { background: #10B981; color: white; border: none; padding: 0.6rem 1.25rem; border-radius: 6px; font-weight: 600; cursor: pointer; margin-top: 1rem; transition: 0.2s; } button:hover { background: #059669; transform: scale(1.05); } </style> </head> <body> <div class="card"> <span class="badge">Desarrollo Web</span> <h1>Hola, Mundo Web</h1> <p>Modifica el código HTML y los estilos CSS a la izquierda para ver el resultado en vivo al instante.</p> <button onclick="alert('¡Funciona perfectamente!')">Púlsame</button> </div> </body> </html>
🌐 Vista Previa en Vivo ·
HTML5 / CSS / JS
Ctrl + Enter para recargar