Stylish Pin Note - 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>Stylish Pin Note</title> <style> body { font-family: 'Arial', sans-serif; background: linear-gradient(135deg, #f0f0f0 25%, #ffffff 100%); display: flex; justify-content: center; align-items: center; height: 100vh; margin: 0; } .pin-note { position: relative; width: 300px; padding: 20px; background: #fff5e1; border-radius: 10px; box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1); text-align: center; transition: transform 0.3s, box-shadow 0.3s; } .pin-note:hover { transform: translateY(-10px); box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2); } .pin { position: absolute; top: -20px; left: calc(50% - 10px); width: 20px; height: 40px; display: flex; justify-content: center; align-items: flex-end; animation: pinBounce 1s infinite alternate; } @keyframes pinBounce { 0% { transform: translateY(0); } 100% { transform: translateY(-5px); } } .pin:before { content: '📌'; font-size: 20px; color: #fff; } .note-title { font-size: 1.5em; color: #ff5e57; margin-bottom: 10px; position: relative; } .note-title:before { content: '✍️'; position: absolute; left: -30px; font-size: 1.2em; } .note-content { font-size: 1em; color: #333; margin-bottom: 15px; text-align: left; } .icon { font-size: 2em; color: #ff5e57; margin-top: 10px; margin-bottom: 10px; } .button { display: inline-block; padding: 10px 20px; background: #ff5e57; color: #fff; border-radius: 5px; text-decoration: none; font-size: 1em; transition: background 0.3s, transform 0.3s; } .button:hover { background: #e04843; transform: scale(1.1); } .close-btn { position: absolute; top: 10px; right: 10px; background: none; border: none; font-size: 1.2em; cursor: pointer; color: #ff5e57; transition: color 0.3s; } .close-btn:hover { color: #e04843; } </style> </head> <body> <div class="pin-note" id="pinNote"> <div class="pin"></div> <button type="button" class="close-btn" onclick="closeNote()">✖️</button> <div class="note-title">My Pin Note</div> <div class="note-content"> This is a highly styled and professional pin note. Use it to remember important tasks or notes! </div> <div class="icon">📝</div> <a href="#" class="button">Learn More</a> </div> <script> function closeNote() { document.getElementById('pinNote').style.display = 'none'; } </script> </body> </html>