Skip to content

Commit

Permalink
responsive bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Manasess896 committed Jan 3, 2025
1 parent 75755d1 commit 7897cfc
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 10 deletions.
3 changes: 3 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"liveServer.settings.port": 5501
}
29 changes: 19 additions & 10 deletions responsive.css
Original file line number Diff line number Diff line change
@@ -1,34 +1,43 @@
@media screen and (min-width:540px) {
.navbar{
@media screen and (min-width:700px){
.navbar {
display: flex;
width: 100%;
top: 0;
height: 10%;
align-items: right;
justify-content: right;
}
.closenavbar,.opennavbar{

.closenavbar,
.opennavbar {
display: none;
}
.head1{

.head1 {
visibility: visible;
}
h1{

h1 {
visibility: visible;
display: inline-flex;
position: fixed;
left: 0;
font-size: 2rem;
}
.nav{
display: none;
}
.navbtn:hover{

.nav {
display: none;
}

.navbtn:hover {
background-color: yellow;
border-radius: 1vw;
color: black;

}
}
@media screen and (min-width:540px) {

.fa-sun,.fa-moon:hover{
transform: scale(1.2);
}
Expand Down

0 comments on commit 7897cfc

Please sign in to comment.