Skip to content

Commit

Permalink
fixed bg img
Browse files Browse the repository at this point in the history
  • Loading branch information
cyr15103 committed Oct 5, 2017
1 parent f97ef48 commit 64f738b
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 3 deletions.
Binary file modified layout-practice/bg-img.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added layout-practice/big-img.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
16 changes: 13 additions & 3 deletions layout-practice/layout-practice.css
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,15 @@ white:#ffffff;

main header {
background-image:url("bg-img.png");
background-size:1500px 1050px;
height:810px;
background-size:/*1500px 1050px*/cover;
height:750px;
margin:0;
}

main header p {
margin-top:-10px;
}

h1 {
font-weight:100;
font-size:60px;
Expand Down Expand Up @@ -68,7 +72,7 @@ a {
display:flex;
width:100px;
justify-content: center;
padding:15px 50px 15px 50px;
padding:5px 40px 5px 40px;
border-radius: 2px;
margin-bottom:20px;
margin-top:10px;
Expand Down Expand Up @@ -424,6 +428,12 @@ footer {

/*desktop styles*/
@media screen and (min-width:1142px){
main header {
background-image:url("bg-img.png");
background-size:/*1500px 1050px*/cover;
height:750px;
margin:0;
}

.two-column{
display:flex;
Expand Down

0 comments on commit 64f738b

Please sign in to comment.