Skip to content

Commit

Permalink
asddd
Browse files Browse the repository at this point in the history
  • Loading branch information
frksGeri committed Nov 30, 2024
1 parent 7625f67 commit 2d3636a
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion style.css
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ i{

.parallax .parallax_child{
background-image: url(media/bg.png);
background-attachment: fixed;
background-attachment: scroll;
background-position: center;
background-repeat: no-repeat;
background-size: cover;
Expand Down Expand Up @@ -284,3 +284,8 @@ footer .container>h2 {
padding: 1.5rem;
}
}
@media (min-width: 992px) {
.parallax .parallax_child {
background-attachment: fixed; /* Csak asztali nézetben legyen fixed */
}
}

0 comments on commit 2d3636a

Please sign in to comment.