Skip to content

Commit

Permalink
zoom added to main image on index.html via style.css
Browse files Browse the repository at this point in the history
  • Loading branch information
markj0hnst0n committed Jun 2, 2020
1 parent 1c58272 commit 9bda6e0
Showing 1 changed file with 15 additions and 2 deletions.
17 changes: 15 additions & 2 deletions assets/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,14 @@ nav li{
}

#hero-image{
height: 420px;
height: 600px;
width: 100%;
background: url("../images/fauxdjsheroimage.jpg") no-repeat center center;
margin-top: 150px;
animation-name: main-pic-zoom;
animation-duration: 10s;
animation-fill-mode: backwards;
margin-bottom: 10px;
}

.book-us-button {
Expand Down Expand Up @@ -93,7 +97,7 @@ section a:hover{
text-align: center;
height: 200px;
margin: 0%;
margin-top: 0%;
margin-top: 20px;
margin-bottom: 140px;
}

Expand Down Expand Up @@ -205,6 +209,15 @@ section a:hover{

/*--Media Queries */

@keyframes main-pic-zoom{
from{
transform: scale(1)
}
to{
transform:scale(1.1)
}
}

@media screen and (max-width:943px){
.book-us-button{
left: 200px;
Expand Down

0 comments on commit 9bda6e0

Please sign in to comment.