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



<div class="topBar">
<img src="images/ethiopia1.png" alt="">
<img src="images/ethiopia1.png" alt="">
<img src="images/ethiopia1.png" alt=""class="spin">
<img src="images/ethiopia1.png" alt="" class="float">

</div>
<div class="backColor">
<div class="backImg">
<img src="images/ethiopia1.png" alt=""class="spin">
<img src="images/ethiopia1.png" alt=""class="spin">
<img src="images/ethiopia1.png" alt=""class="spin">
</div>
</div>

</body>
<footer>
border is fixed @2018 Erik taylor
</footer>
</html>
96 changes: 96 additions & 0 deletions style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,96 @@
body{

hight:100vh;
width: 100vw;
min-width: 809px;
margin: 0px auto;


}
.topBar{
flex-wrap: nowrap;
background-color: black;
}
img{
height: 150px;
width: 150px;
padding: 10px;
}
.float{
display: flex;
float:right;
clear: both;
}
.backColor{
background-color: purple;
height: 800px;
width: 800px;
padding: 20px;
}
.backImg{
background-repeat:no-repeat;
height: 400px;
width: 400px;
margin: 0px auto;


background-image: url("images/usa1.png");
position: relative;
background-size: cover;
background-position: center;


}
.backImg > .spin{
display: flex;
flex-direction: column;
height: 50px;
width: 50px;
margin-left: 160px;

}

.spin{
-webkit-animation:rotation 3s infinite linear;
}
@-webkit-keyframes rotation{
from{
-webkit-transform: rotate(0deg);
}
to{
-webkit-transform:rotate(359deg);
}

}

footer{
position: fixed;
width: 100%;
text-align: center;
bottom: 0;
color: white;
background-color: black;
}




/* //body {
text-align: center;
padding: 100px 0 0 0;
color: #fff;
background: #1d1f20;
}

#loading {
-webkit-animation: rotation 2s infinite linear;
}

@-webkit-keyframes rotation {
from {
-webkit-transform: rotate(0deg);
}
to {
-webkit-transform: rotate(359deg);
}
} */