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
17 changes: 16 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,21 @@
<link rel="stylesheet" href="style.css">
</head>
<body>

<div class ="conatiner">

<div class = "row row1">
<div class ="image">
<div class ="first image1"></div>
<div class ="first image2"></div>
<div class ="first image3"></div>
<div class ="first image4"></div>
</div>
</div>
<div class = "row row2"></div>
<div class = "row row3">
<p>This is a fixed footer. &copy; 2018 your name.</p> </div>

</div>

</body>
</html>
37 changes: 37 additions & 0 deletions index1.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
<!DOCTYPE html>
<html lang="en" dir="ltr">
<head>
<meta charset="utf-8">
<title></title>
<link rel="stylesheet" href="style1.css">
</head>
<body>
<div class ="conatiner">

<div class = "row row1">
<div class ="image">
<div class ="first image1"></div>
<div class ="first image2"></div>
<div class ="first image3"></div>
<div class ="first image4"></div>
</div>
</div>
<div class = "row row2">
<div class="left_panel">
<div class="myimage img">
<div class="img1"></div>
<div class=" img2"></div>
<div class="img3"></div>
</div>
</div>

<div class="right_panel"></div>
</div>

<div class = "row row3">
<p>This is a fixed footer. &copy; 2018 your name.</p> </div>

</div>

</body>
</html>
102 changes: 102 additions & 0 deletions style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,102 @@
body{
  margin: 0px;
  padding: 0px;
  width: 100vw;
  height: 100vh;
}
.container{
position: fixed;
top: 0;
left: 0;
bottom:0;
right:0;
}
.row {
width:100%;
display: block;
}
.image{
width: 80%;
height: 80%;
display:block;
padding-top:5px;

}

.first{
width: 15%;
height: 70%;
background: url(https://raw.githubusercontent.com/Nmuta/css_copycat/master/images/usa1.png);
background-size: contain;
background-repeat: no-repeat;
display:inline-block;
padding-top:80px;
margin-left: 60px;

}
.image1{

margin-left: 60px;
padding-left: 20px;
padding-right: 20px;

}
.image2{


margin-left: 100px;
padding-left: 20px;
padding-right: 20px;
}

.image3 {
margin-left: 100px;
-moz-animation: spin 3s infinite linear;
-webkit-animation: spin 3s infinite linear;
padding-left: 20px;
padding-right: 20px;
}

@-moz-keyframes spin {
0% {-moz-transform: rotate(0deg);}
100% {-moz-transform: rotate(360deg);}
}

@-webkit-keyframes spin {
0% { -webkit-transform:rotate(0deg); }
100% { -webkit-transform:rotate(360deg); }
}

.image4{

margin-left: 20px;
padding-left: 20px;
padding-right: 20px;
}
.row1{
height:200px;

background-color: black;
margin-left: -10px;

padding-right: 20px;
margin-top:-10px;


}
.row2{
height:510px;
background-color: white;
}

.row3{
height:70px;
background-color: black;

position: fixed;
left: 0;
bottom: 0;

color: white;
text-align: center;
}
182 changes: 182 additions & 0 deletions style1.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,182 @@
body{
  margin: 0px;
  padding: 0px;
  width: 100vw;
  height: 100vh;
}
.container{
position: fixed;
top: 0;
left: 0;
bottom:0;
right:0;
}
.row {
width:100%;
display: block;
}
.image{
width: 80%;
height: 80%;
display:block;
}

.first{
width: 15%;
height: 70%;
background: url(https://raw.githubusercontent.com/Nmuta/css_copycat/master/images/usa1.png);
background-size: contain;
background-repeat: no-repeat;
display:inline-block;
padding-top:80px;
margin-left: 60px;

}
.image1{

margin-left: 60px;
}
.image2{


margin-left: 100px;
}

.image3{
margin-left: 100px;
}

.image3, .img1, .img2, .img3 {

-moz-animation: spin 3s infinite linear;
-webkit-animation: spin 3s infinite linear;
}

@-moz-keyframes spin {
0% {-moz-transform: rotate(0deg);}
100% {-moz-transform: rotate(360deg);}
}

@-webkit-keyframes spin {
0% { -webkit-transform:rotate(0deg); }
100% { -webkit-transform:rotate(360deg); }
}

image4{

margin-left: 180px;
}
.row1{
height:200px;
/* margin:0px auto; */
background-color: black;


}

.row2{
height:540px;
background-color: white;
position: fixed;
left: 0;
bottom: 0;

}

.left_panel{
float: left;
width: 40vw;
background-color: purple;
height:100%;
display:block;
/* background: url(https://raw.githubusercontent.com/Nmuta/css_copycat/master/images/usa1.png); */
}
.myimage{

height:70%;
width:70%;
background: url(https://raw.githubusercontent.com/Nmuta/css_copycat/master/images/usa1.png);
background-size: contain;
background-repeat: no-repeat;
}

.img1{

height:2%;
width:2%;
background: url(https://raw.githubusercontent.com/Nmuta/css_copycat/master/images/usa1.png);
background-size: contain;
background-repeat: no-repeat;
padding-left:100px;
padding-right:40px;
padding-top:40px;
margin:80px;
}
.img2{

height:2%;
width:2%;
background: url(https://raw.githubusercontent.com/Nmuta/css_copycat/master/images/usa1.png);
background-size: contain;
background-repeat: no-repeat;
padding-left:100px;
padding-top:40px;
margin:80px;
}
.img3{

height:2%;
width:2%;
background: url(https://raw.githubusercontent.com/Nmuta/css_copycat/master/images/usa1.png);
background-size: contain;
background-repeat: no-repeat;
padding-left:100px;
padding-top:40px;
margin:80px;
}

/* .img{
height:70%;
width:70%;
}

.img1{
height:10%;
width:10%;
}

.img2{
height:10%;
width:10%;
}
.img3{
height:10%;
width:10%;
}
.img4{
height:10%;
width:10%;
} */

.right_panel{
float: right;
width: 70vw;
/* background-color: green; */
height: 100%;

margin:0px auto;


}

.row3{
height:70px;
background-color: black;

position: fixed;
left: 0;
bottom: 0;

color: white;
text-align: center;
}