Skip to content

Commit

Permalink
Update css
Browse files Browse the repository at this point in the history
  • Loading branch information
priyaahm authored Jul 23, 2023
1 parent 93f8aca commit 53fccee
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions module3-solution/css
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,33 @@ section{
display: flex;
flex-direction: row;
}
/* desktop version */
@media screen (min-width:992px) {
.box{
float: left;
width: 33.33%;
}

}
/* for tablet version */
@media (min-width:768px) and (max-width:991px)
{
.sub1{
float: left;
width: 50%;

}
.sub2{
float:left;
width:100%;
}
}
/* for mobile version */
@media (max-width:767px)
{
.box{
float: left;
width: 100%;
}
}

0 comments on commit 53fccee

Please sign in to comment.