From efa32a13454b93ea69aff9c41a3e903bc40542e9 Mon Sep 17 00:00:00 2001 From: Subhajit-2023-44 Date: Fri, 1 Nov 2024 18:55:55 +0530 Subject: [PATCH] done --- assets/css/style.css | 38 ++++++- index.html | 33 ++++++ profile.html | 97 +++++++++++++++++ testp.css | 253 +++++++++++++++++++++++++++++++++++++++++++ textp.js | 33 ++++++ 5 files changed, 453 insertions(+), 1 deletion(-) create mode 100644 profile.html create mode 100644 testp.css create mode 100644 textp.js diff --git a/assets/css/style.css b/assets/css/style.css index 78265a95..1b940ecf 100644 --- a/assets/css/style.css +++ b/assets/css/style.css @@ -3327,4 +3327,40 @@ transition: background-color 0.3s; } .dropdown-toggle::after { border-top: 1px; -} \ No newline at end of file +} + +.profile-icon { + + border-radius: 50%; + position: relative; + margin-left: 20px; /* Adjust space between Login button and Profile icon */ + +} + +.dropdown-menu { + + display: none; + position: absolute; + top: 35px; /* Adjust based on the height of your navbar */ + right: 0; + background-color: white; + color: black; + border: 1px solid #ccc; + border-radius: 4px; + z-index: 1; + +} + +.dropdown-menu a { + + display: block; + padding: 10px 15px; + text-decoration: none; + +} + +.dropdown-menu a:hover { + + background-color: #f1f1f1; + +} diff --git a/index.html b/index.html index dfac5b11..dc44b2e3 100644 --- a/index.html +++ b/index.html @@ -306,6 +306,22 @@ data-scroll-nav="0" href="./loginPage.html">Login/Register 💻 + + + + +