Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
50 changes: 50 additions & 0 deletions Mohammad Amir/mostlyfluid.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
.container{
display: flex;
flex-wrap: wrap;
}
.box{
width: 100%;
height: 400px;

}
.box1{
background-color: black;

}
.box2{
background-color: blue;

}
.box3{
background-color: orange;

}
.box4{
background-color: red;

}
.box5{
background-color: green;

}
@media screen and (max-width: 900px) {
.box{
width: 33%

}
.box1{
width: 58%;
}
.box2{
width: 38%;
}
}

@media screen and (max-width: 900px) {
.box{
width: 48%
}
.box1{
width: 100%;
}
}
20 changes: 20 additions & 0 deletions Mohammad Amir/mostlyfluid.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<!DOCTYPE html>
<html>
<head>
<title>Mostly Fluid</title>
<link rel="stylesheet" type="text/css" href="mostlyfluid.css">
<meta name="viewport" content="width=device-width , initial-scale=0.1">
</head>
<body>
<div class="container">
<div class="box box1"></div>
<div class="box box2"></div>
<div class="box box3"></div>
<div class="box box4"></div>
<div class="box box5"></div>
<div class="box box6"></div>


</div>
</body>
</html>