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
42 changes: 21 additions & 21 deletions Avani/Column Drop/index.html
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title></title>
<meta name="viewport" content="width=device-width , intial-scale=1;">
<link rel="stylesheet" type="text/css" href="style.css">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
</head>
<body>
<div class="par">
<div class="box1"></div>
<div class="box2"></div>
<div class="box3"></div>
</div>
</body>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title></title>
<meta name="viewport" content="width=device-width , intial-scale=1;">
<link rel="stylesheet" type="text/css" href="style.css">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
</head>


<body>
<div class="par">
<div class="box1"></div>
<div class="box2"></div>
<div class="box3"></div>
</div>


</body>

</html>
224 changes: 112 additions & 112 deletions Avani/Column Drop/style.css
Original file line number Diff line number Diff line change
@@ -1,113 +1,113 @@
.par
{
display: flex;
flex-wrap: wrap;
}
.box1
{
background-color: #95a6c1;
}
.box2
{
background-color: #debaef;
}
.box3
{
background-color: #b3bc9e;
}
@media screen and (max-width: 768px)
{
.box1
{
height: 110vh;
width: 100%;
}
.box2
{
height: 50vh;
width: 100%;
}
.box3
{
height: 50vh;
width: 100%;
}
}
@media screen and (min-width: 768px) and (max-width: 992px)
{
.box1, .box2, .box3
{
height: 60vh;
width: 100%;
}
}
@media screen and (min-width: 992px) and (max-width: 1200px)
{
.box1, .box2
{
height: 100vh;
}
.box1
{
width: 30%;
order:2;
}
.box2
{
width: 70%;
order: 1;
}
.box3
{
height: 40vh;
width: 100%;
order:3;
}
}
@media screen and (min-width: 1200px)
{
.box1
{
height: 100vh;
width: 50%;
order: 2;
}
.box2
{
height: 100vh;
width: 25%;
order: 1;
}
.box3
{
height: 100vh;
width: 25%;
order: 3;
}
.par
{
display: flex;
flex-wrap: wrap;
}

.box1
{
background-color: #95a6c1;
}

.box2
{
background-color: #debaef;
}

.box3
{
background-color: #b3bc9e;
}



@media screen and (max-width: 768px)
{
.box1
{
height: 110vh;
width: 100%;
}
.box2
{
height: 50vh;
width: 100%;
}
.box3
{
height: 50vh;
width: 100%;
}
}




@media screen and (min-width: 768px) and (max-width: 992px)
{
.box1, .box2, .box3
{
height: 60vh;
width: 100%;

}
}





@media screen and (min-width: 992px) and (max-width: 1200px)
{
.box1, .box2
{
height: 100vh;
}

.box1
{
width: 30%;
order:2;
}

.box2
{
width: 70%;
order: 1;
}

.box3
{
height: 40vh;
width: 100%;
order:3;
}
}




@media screen and (min-width: 1200px)
{
.box1
{
height: 100vh;
width: 50%;
order: 2;

}
.box2
{
height: 100vh;
width: 25%;
order: 1;
}

.box3
{
height: 100vh;
width: 25%;
order: 3;

}
}
44 changes: 22 additions & 22 deletions Avani/Layout shifter/index.html
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
<!DOCTYPE html>
<html>
<head>
<title>Layout Shifter</title>
<meta name="viewport" content="width=device-width , intial-scale=1;">
<link rel="stylesheet" type="text/css" href="style.css">
</head>
<body>
<div class="spar">
<div class="box1"></div>
<div class="par ">
<div class="box2"></div>
<div class="box3"></div>
</div>
</div>
</body>
<!DOCTYPE html>
<html>
<head>
<title>Layout Shifter</title>
<meta name="viewport" content="width=device-width , intial-scale=1;">
<link rel="stylesheet" type="text/css" href="style.css">

</head>
<body>

<div class="spar">


<div class="box1"></div>
<div class="par ">
<div class="box2"></div>
<div class="box3"></div>
</div>

</div>

</body>
</html>
Loading