Skip to content

Commit

Permalink
correctting footer position in mobile adding a new media query at 1310px
Browse files Browse the repository at this point in the history
  • Loading branch information
Sudip200 committed May 11, 2024
1 parent c849ed9 commit 741c72e
Show file tree
Hide file tree
Showing 5 changed files with 35 additions and 1 deletion.
11 changes: 11 additions & 0 deletions Pages/Videos/sources/button-1/media-queries.css
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,19 @@
bottom: 5vh;
right: 5vw;
}

}

@media screen and (max-width:1310px){
footer{
position: absolute;
bottom: 0;
left:0;
right:0
}
}


@media screen and (max-width: 479px) {
:root {
--padding-inline-section: 10px;
Expand Down
1 change: 0 additions & 1 deletion Pages/Videos/sources/button-1/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,6 @@ ul {
/* footer */

footer{

bottom: 0;
left: 0;
right: 0;
Expand Down
8 changes: 8 additions & 0 deletions Pages/Videos/sources/button-2/media-queries.css
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,14 @@
right: 5vw;
}
}
@media screen and (max-width:1310px){
footer{
position: absolute;
bottom: 0;
left:0;
right:0
}
}

@media screen and (max-width: 479px) {
:root {
Expand Down
8 changes: 8 additions & 0 deletions Pages/Videos/sources/button-3/media-queries.css
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,14 @@
right: 5vw;
}
}
@media screen and (max-width:1310px){
footer{
position: absolute;
bottom: 0;
left:0;
right:0
}
}

@media screen and (max-width: 479px) {
:root {
Expand Down
8 changes: 8 additions & 0 deletions Pages/Videos/sources/button-4/media-queries.css
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,14 @@
right: 5vw;
}
}
@media screen and (max-width:1310px){
footer{
position: absolute;
bottom: 0;
left:0;
right:0
}
}

@media screen and (max-width: 479px) {
:root {
Expand Down

0 comments on commit 741c72e

Please sign in to comment.