Emerald Elegance Select Box - MeggiTools
Run
Toggle Theme
Share Link
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Emerald Elegance Select Box</title> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css"> <style> body { margin: 0; padding: 0; font-family: 'Arial', sans-serif; display: flex; justify-content: center; align-items: center; height: 100vh; background: linear-gradient(135deg, #004d00, #00b300); overflow: hidden; } .select-box-container { position: relative; width: 320px; background: rgba(255, 255, 255, 0.2); border-radius: 10px; box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3); overflow: hidden; font-size: 1rem; } .select-box { width: 100%; padding: 12px 20px; background: linear-gradient(135deg, #004d00, #00b300); border: none; border-radius: 10px; color: #202020; appearance: none; outline: none; font-size: 1rem; cursor: pointer; transition: background 0.3s ease; } .select-box::-ms-expand { display: none; } .select-box:focus { background: linear-gradient(135deg, #00b300, #004d00); } .select-box-container::before { content: "\f078"; font-family: 'Font Awesome 5 Free'; font-weight: 900; position: absolute; top: 50%; right: 15px; transform: translateY(-50%); color: #fff; font-size: 1.2rem; pointer-events: none; } </style> </head> <body> <div class="select-box-container"> <select class="select-box"> <option value="" disabled selected>Select an option</option> <option value="1">Option 1</option> <option value="2">Option 2</option> <option value="3">Option 3</option> <option value="4">Option 4</option> </select> </div> </body> </html>