HTMLify
logo.html
Views: 316 | Author: djdj
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 | <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Patient Logo</title> <style> body { font-family: Arial, sans-serif; margin: 0; padding: 0; display: flex; justify-content: center; align-items: center; height: 100vh; background-color: #f4f4f4; } .logo { position: relative; /* Relative for absolute positioning */ display: inline-block; background: #fff; padding: 20px; border-radius: 10px; box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2); max-width: 300px; text-align: center; } .logo img { width: 150px; height: 150px; border-radius: 50%; border: 3px solid #007bff; } .edit-icon { position: absolute; bottom: 35px; /* Adjust position */ right: 75px; /* Adjust position */ background: #8a2be2; /* Purple background */ color: #fff; width: 40px; height: 40px; border-radius: 50%; display: flex; justify-content: center; align-items: center; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); cursor: pointer; transition: 0.3s; } .edit-icon:hover { background: #6a1bbf; /* Darker shade on hover */ } .edit-icon i { font-size: 20px; } .patientName { font-size: 18px; font-weight: bold; color: #333; margin-top: 10px; } </style> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.0/css/all.min.css"> </head> <body> <div class="logo"> <img src="https://htmlify.artizote.com/djdj/djupraity/images/saver.png" alt="Patient Logo"> <div class="edit-icon"> <i class="fas fa-pencil-alt"></i> </div> <p class="patientName">Patient Name</p> </div> </body> </html> |