Skip to content

Commit

Permalink
background attachment mobile header
Browse files Browse the repository at this point in the history
  • Loading branch information
wodydoc committed Jul 10, 2023
1 parent 7c3c8b6 commit e382d50
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions assets/css/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,8 @@
/*========== z index ==========*/
--z-tooltip: 10;
--z-fixed: 100;

--background-attachment: fixed;
}

/* Responsive typography */
Expand Down Expand Up @@ -141,6 +143,7 @@ input:valid {
body {
margin: var(--header-height) 0 0 0;
background-color: var(--body-color);
background-attachment: var(--background-attachment);
color: var(--text-color);
transition: 0.4s; /*For animation dark mode*/
}
Expand Down Expand Up @@ -1063,6 +1066,9 @@ span.behavior {
}

/* BENEFITS */



.benefits {
padding: 6rem 0.5rem;
display: flex;
Expand Down

0 comments on commit e382d50

Please sign in to comment.