Skip to content

Commit

Permalink
mobile responsive code added...
Browse files Browse the repository at this point in the history
  • Loading branch information
adserasinghe committed Feb 21, 2024
1 parent 3f3dfad commit e88c61f
Show file tree
Hide file tree
Showing 3 changed files with 58 additions and 2 deletions.
21 changes: 20 additions & 1 deletion about us/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -313,4 +313,23 @@ h5{
flex-basis: 22%;
margin: 1.5%;
}
}
}
/* Styles for mobile and tablets */
@media only screen and (max-width: 1023px) {
.slider-wrapper .slide-button {
display: none !important;
}
.slider-wrapper .image-list {
gap: 10px;
margin-bottom: 15px;
scroll-snap-type: x mandatory;
}
.slider-wrapper .image-list .image-item {
width: 280px;
height: 380px;
}
.slider-scrollbar .scrollbar-thumb {
width: 20%;
}
}
/*works card list end*/
20 changes: 19 additions & 1 deletion contact/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -396,4 +396,22 @@ p:hover{
position: flex;
z-index: -3;
}

/* Styles for mobile and tablets */
@media only screen and (max-width: 1023px) {
.slider-wrapper .slide-button {
display: none !important;
}
.slider-wrapper .image-list {
gap: 10px;
margin-bottom: 15px;
scroll-snap-type: x mandatory;
}
.slider-wrapper .image-list .image-item {
width: 280px;
height: 380px;
}
.slider-scrollbar .scrollbar-thumb {
width: 20%;
}
}
/*works card list end*/
19 changes: 19 additions & 0 deletions hero/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -264,3 +264,22 @@ h5{
position: flex;
z-index: -3;
}
/* Styles for mobile and tablets */
@media only screen and (max-width: 1023px) {
.slider-wrapper .slide-button {
display: none !important;
}
.slider-wrapper .image-list {
gap: 10px;
margin-bottom: 15px;
scroll-snap-type: x mandatory;
}
.slider-wrapper .image-list .image-item {
width: 280px;
height: 380px;
}
.slider-scrollbar .scrollbar-thumb {
width: 20%;
}
}
/*works card list end*/

0 comments on commit e88c61f

Please sign in to comment.