From 6c5f73b0c44b6b41a943506df0854ec4919dcd9a Mon Sep 17 00:00:00 2001 From: Eunice Ogboye Date: Tue, 11 Oct 2022 07:02:47 -0700 Subject: [PATCH] updated the trending nav --- .vscode/settings.json | 3 +++ contact.html | 60 +++++++++++++++++++++++++++++++++++++++++++ css/trending.css | 8 ++++-- index.html | 2 +- 4 files changed, 70 insertions(+), 3 deletions(-) create mode 100644 .vscode/settings.json diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..6f3a291 --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,3 @@ +{ + "liveServer.settings.port": 5501 +} \ No newline at end of file diff --git a/contact.html b/contact.html index 9acff78..11ad3ae 100644 --- a/contact.html +++ b/contact.html @@ -12,6 +12,13 @@ + + + + + Contact @@ -102,6 +109,59 @@

CONTACT

+ + + + + diff --git a/css/trending.css b/css/trending.css index 4275401..6a3ef3e 100644 --- a/css/trending.css +++ b/css/trending.css @@ -4,7 +4,7 @@ box-shadow: 0 0 7px 0px #333333c7; position: fixed; z-index: 1000; - + top: 0; } nav { @@ -100,4 +100,8 @@ nav ul li a:hover{ .card-title { font-weight: 600; } - +@media screen and (max-width: 780px) { + nav { + top: 0; + } +} diff --git a/index.html b/index.html index 284f55f..e5aa546 100644 --- a/index.html +++ b/index.html @@ -218,7 +218,7 @@
-

Checkout our Best Sellers....

+

Checkout
our Best Sellers....