Untitled
unknown
plain_text
20 days ago
1.7 kB
3
Indexable
Never
body { margin: 0; font-family: 'Arial', sans-serif; background-color: #f8f8f8; color: #333333; line-height: 1.6; } header, footer { background-color: #007BFF; color: #ffffff; padding: 20px; text-align: center; } h1 { margin: 0; } main { display: flex; justify-content: center; align-items: center; flex-direction: column; padding: 20px; max-width: 800px; margin: 0 auto; } form { width: 100%; max-width: 400px; margin-top: 20px; background-color: #ffffff; padding: 20px; border-radius: 8px; box-shadow: 0 2px 4px rgba(0,0,0,0.1); } .form-group { margin-bottom: 15px; } label { display: block; margin-bottom: 5px; font-weight: bold; } input[type="date"], input[type="time"], input[type="text"] { width: 100%; padding: 10px; box-sizing: border-box; border: 1px solid #ddd; border-radius: 4px; } button { background-color: #007BFF; color: #ffffff; padding: 12px; width: 100%; border: none; border-radius: 4px; cursor: pointer; font-size: 16px; transition: background-color 0.3s ease; } button:hover { background-color: #0056b3; } #result { margin-top: 30px; font-size: 18px; text-align: left; background-color: #ffffff; padding: 20px; border-radius: 8px; box-shadow: 0 2px 4px rgba(0,0,0,0.1); width: 100%; max-width: 600px; } #info { margin-top: 30px; text-align: left; background-color: #e9f5ff; padding: 20px; border-radius: 8px; width: 100%; max-width: 600px; } @media (max-width: 600px) { form, #result, #info { width: 90%; } }
Leave a Comment