Skip to content

Commit

Permalink
add background-position
Browse files Browse the repository at this point in the history
  • Loading branch information
tejitak committed Sep 15, 2023
1 parent 495817b commit 0c4d5d6
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,19 @@
}

.hero-section::before {
content: '';
content: "";
position: absolute;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, .2) url(../images/hero_bg.jpg) no-repeat 100% bottom;
background: rgba(0, 0, 0, 0.2) url(../images/hero_bg.jpg) no-repeat 100%
bottom;
overflow: hidden;
padding-top: 150px;
padding-bottom: 150px;
padding-top: 120px;
background-repeat: no-repeat;
background-size: 1500px;
filter: brightness(.8);
background-position: center;
filter: brightness(0.8);
z-index: -1;
}

0 comments on commit 0c4d5d6

Please sign in to comment.