Untitled
user_0417885
plain_text
9 days ago
2.0 kB
1
Indexable
Never
body { font-family: 'Poppins', sans-serif; background-color: #f9fafc; margin: 0; padding: 0; text-align: center; } header { background-color: #00bcd4; color: white; padding: 20px; } h1 { margin: 0; font-weight: 500; } p { font-weight: 300; font-size: 18px; margin-top: 5px; } .container { max-width: 900px; margin: 20px auto; padding: 20px; background-color: white; border-radius: 12px; box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1); } .input-section { display: flex; justify-content: center; gap: 10px; margin-bottom: 20px; } .input-field { padding: 10px; font-size: 16px; border-radius: 8px; border: 1px solid #ccc; width: 200px; } .add-btn { padding: 10px 20px; background-color: #00bcd4; color: white; border: none; border-radius: 8px; cursor: pointer; } .add-btn:hover { background-color: #0097a7; } .feedback { font-size: 14px; color: green; margin-bottom: 10px; } .inventory-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; } .inventory-card { background-color: #e0f7fa; padding: 15px; border: 1px solid #00bcd4; border-radius: 10px; box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1); } .inventory-card h3 { margin: 0; font-size: 18px; } .inventory-card p { font-size: 16px; } .inventory-card button { background-color: #e91e63; color: white; border: none; padding: 8px 15px; border-radius: 5px; cursor: pointer; } .inventory-card button:hover { background-color: #c2185b; } @media screen and (max-width: 600px) { .input-section { flex-direction: column; gap: 10px; } }
Leave a Comment