Skip to content

Commit

Permalink
fix background attachment for mobile
Browse files Browse the repository at this point in the history
  • Loading branch information
somrat committed May 27, 2020
1 parent b6d9683 commit 91f52de
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
1 change: 0 additions & 1 deletion assets/scss/templates/_backgrounds.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
background-size: cover;
background-repeat: no-repeat;
background-attachment: fixed;

}

.bg-2 {
Expand Down
1 change: 1 addition & 0 deletions assets/scss/templates/_slider.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
position: relative;
@extend .overly;
@include tablet {
background-attachment: scroll;
padding: 150px 0;
h1{
font-size: 35px;
Expand Down
Loading

0 comments on commit 91f52de

Please sign in to comment.