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
69 changes: 69 additions & 0 deletions Ketan Verma/Column Drop/cd.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
.container{
display: flex;
flex-wrap: wrap;
justify-content: center;
}

.box{
height: 200px;
width: 100%;
}
.box1{
background-color: #06418e;
height: 200px;
order: 1;
}
.box2{
background-color: #2a77e0;
order: 2;
}
.box3{
background-color: #c8dbfc;
order: 3;
}

@media(max-width:480px) and (min-width:200px){
.box{
width: 100%;
}
.box1{
height: 400px;
}
}
@media(min-width:600px) and (max-width:735px) {
.box1{
width:70%;
order: 2;
height: 600px;

}
.box2{
width:30%;
order: 1;
height: 600px;
}
.box3{
width:100%;
order: 3;
height: 300px;
}

}
@media(max-width:2560px) and (min-width:735px){
.box1{
width:50%;
order: 2;
height: 600px;

}
.box2{
width:25%;
order: 1;
height: 600px;
}
.box3{
width:25%;
order: 3;
height: 600px;
}
}
21 changes: 21 additions & 0 deletions Ketan Verma/Column Drop/columndrop.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>Page Title</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" type="text/css" media="screen" href="cd.css" />
</head>

<body>
<div class="container">
<div class="box1">
</div>
<div class="box box2">
</div>
<div class="box box3">
</div>
</div>

</body>
</html>
22 changes: 22 additions & 0 deletions Ketan Verma/Layout Shifter/layoutshifter.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>Page Title</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" type="text/css" media="screen" href="ls.css" />
</head>

<body>
<div class="container">
<div class="box1">
</div>
<div class="box box4">
<div class="box box2">
</div>
<div class="box box3">
</div>
</div>
</div>
</body>
</html>
76 changes: 76 additions & 0 deletions Ketan Verma/Layout Shifter/ls.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
.container{
display: flex;
flex-wrap: wrap;
justify-content: center;
}
/* body{
margin: 0px;
} */

.box{
height: 200px;
width: 100%;
}
.box1{
background-color: #06418e;
height: 250px;
width: 100%;
}
.box2{
background-color: #2a77e0;
height: 350px;
}
.box3{
background-color: #c8dbfc;
height: 450px;
}

@media(max-width:480px) and (min-width:200px){
.box1{
width: 100%;
height: 200px;
}
.box2{
height: 400px;
}
.box3{
height: 600px;
}
}
@media(min-width:600px) and (max-width:735px) {
.box1{
width:20%;
height: 600px;

}
.box4{
width: 80%;
}
.box2{
height: 300px;
}
.box3{
height: 300px;
}

}
@media(max-width:2560px) and (min-width:735px){
.box1{
width:20%;
height: 800px;

}
.box4{
width: 80%;
}
.box2{
height: 400px;
}
.box3{
height: 400px;
}
.container{
width: 850px;
}

}
102 changes: 102 additions & 0 deletions Ketan Verma/Mostly Fluid/mf.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,102 @@
.container{
display: flex;
flex-wrap: wrap;
justify-content: center;
}

.box{
height: 400px;
width: 50%;
}
.box1{
background-color: #06418e;
width:100%;
height:400px;
}
.box2{
background-color: #2a77e0;
}
.box3{
background-color: #c8dbfc;
}
.box4{
background-color: #d6e0f1;
}
.box5{
background-color: #e0e2e5;
}
/* @media(max-width:480px) and (min-width:200px){
.box1{
height:600px;
}
.box2{
height:200px;
width:100%;
}
.box3{
height:200px;
width:100%;
}
.box4{
height:200px;
width:100%;
}
.box5{
height:200px;
width:100%;
}
}
@media (min-width:735px){
.box1{
width:432px;
}
.box2{
width:288px;
}
.box3{
width:240px;
}
.box4{
width:240px;
}
.box5{
width:240px;
}
/*
.box1{
width:60%;
}
.box2{
width:40%;
}
.box3{
width:33%;
}
.box4{
width:33%;
}
.box5{
width:33%;
} */
.container{
width: 720px;
margin: auto 0;
}
}
@media(max-width:735px) and (min-width:600px){
.box1{
width:60%;
}
.box2{
width:40%;
}
.box3{
width:33%;
}
.box4{
width:33%;
}
.box5{
width:33%;
}
} */
25 changes: 25 additions & 0 deletions Ketan Verma/Mostly Fluid/mostlyfluid.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>Page Title</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" type="text/css" media="screen" href="mf.css" />
</head>

<body>
<div class="container">
<div class="box1">
</div>
<div class="box box2">
</div>
<div class="box box3">
</div>
<div class="box box4">
</div>
<div class="box box5">
</div>
</div>

</body>
</html>