Skip to content

Commit

Permalink
mudança de background
Browse files Browse the repository at this point in the history
  • Loading branch information
Eduardo-medeiros committed Feb 17, 2024
1 parent 12ef6a7 commit 0121bad
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ body {
background-size: cover;
/*pode agrupar o background em uma unica propriedade e a sequencia é background:color image repeat position/size
*/
height: 100vh;
}

body * {
Expand Down Expand Up @@ -155,3 +156,12 @@ ul li a:hover {
background: var(--highlight-color);
border-radius: 50%;
}

@media (min-width: 700px) {
:root {
--bg-url: url(./assets/bg-desktop.jpg);
}
.light {
--bg-url: url(./assets/bg-desktop-light.jpg);
}
}

0 comments on commit 0121bad

Please sign in to comment.