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
27 changes: 27 additions & 0 deletions Ajey/column drop/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
<!DOCTYPE html>
<html>

<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="">
<meta name="author" content="">
<link rel="stylesheet" href="style.css">
<title>New HMTL document by NewJect</title>

</head>

<body>

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


</div>

</body>

</html>
42 changes: 42 additions & 0 deletions Ajey/column drop/style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
.container {
display: flex;
flex-wrap: wrap;
width: 100%;
max-width: 800px;
position: relative;
margin: auto;

}
.box {
width: 100%;
height: 200px;
}

.box1 {
background-color: black;

}

.box2 {
background-color:orange;
}

.box3 {
background-color: blue;
}


@media screen and (min-width:600px){
.box{
width: 100%;
order:3;
}
.box1{
width: 80%;
order:2;
}
.box2{
width: 20%;
order:1;
}
}
29 changes: 29 additions & 0 deletions Ajey/layout_shifter/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
<!DOCTYPE html>
<html>

<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="">
<meta name="author" content="">
<link rel="stylesheet" href="style.css">
<title>New HMTL document by NewJect</title>

</head>

<body>

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

</div>

</body>

</html>
82 changes: 82 additions & 0 deletions Ajey/layout_shifter/style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,82 @@
.container {
display: flex;
flex-wrap: wrap;
width: 100%;
width: 1200px;
position: relative;
margin: auto;
/* height: 500px;*/
}

body,
html {
height: 100%;
}

.box {
width: 100%;
height: 200px;
}

.bbox {
background: black;
height: 300px;
display: flex;
flex-wrap: wrap;

}


.box1 {
background-color: black;

}

.box2 {
background-color: orange;
height: 300px;
}

.box3 {
background-color: blue;
height: 700px;
}



@media screen and (min-width:600px) {
.box1 {
height: 200px;
}
.box2 {
height: 300px;
}
.box3 {
height: 400px;
}
}


@media screen and (min-width:900px) {


.box1 {
height: 100vh;
width: 10%;
/* float: left;*/
}
.bbox {
width: 90%;
height: 100vh;
transition: ease;
/* float: left;*/
}
.box2,
.box3

{
height: 50vh;
}


}
27 changes: 27 additions & 0 deletions Ajey/mostly-fluid/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
<!DOCTYPE html>
<html>

<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="">
<meta name="author" content="">
<link rel="stylesheet" href="style.css">
<title>New HMTL document by NewJect</title>

</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>
</body>

</html>
67 changes: 67 additions & 0 deletions Ajey/mostly-fluid/style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
.container {
display: flex;
flex-wrap: wrap;
width: 100%;
position: relative;
max-width:1200px;
margin: 0 auto;

}

.box {
width: 100%;
height: 200px;
transition: all 0.7s linear 0s;
}


.box1 {
height: 500px;
background-color: black;

}

.box2 {
background-color: orange;
}

.box3 {
background-color: green;
}

.box4 {
background-color: grey;
}

.box5 {
background-color: maroon;
}


@media screen and (min-width:600px){
.box{
width:50%;
}
.box1{
height: 300px;
width: 100%
}

}


@media screen and (min-width:900px){
.box{
width:33.33%;

}
.box1{
height: 331px;
width: 60%
}
.box2{
height: 331px;
width: 40%
}

}