Skip to content

Commit

Permalink
versao mobile
Browse files Browse the repository at this point in the history
  • Loading branch information
maahbatistaa committed Oct 14, 2024
1 parent ef2b09c commit fadc0a1
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 0 deletions.
7 changes: 7 additions & 0 deletions patins-animation/css/footer.css
Original file line number Diff line number Diff line change
Expand Up @@ -97,3 +97,10 @@ footer {
}
}
}
@media (width <= 420px){
footer {
flex-direction: column;
gap: 2rem;
align-items: flex-start;
}
}
12 changes: 12 additions & 0 deletions patins-animation/css/gallery.css
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,18 @@ section.gallery {
}
}

@media (width <= 420px){
section.gallery {
& .content {
grid-template-areas:
'A A'
'B B'
'C C'
'D D';
}
}
}

@keyframes image-appear {
from {
opacity: 0;
Expand Down
16 changes: 16 additions & 0 deletions patins-animation/css/hero.css
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,22 @@ section.hero {
}
}

@media (width <= 420px) {
section.hero {
flex-direction: column-reverse;
align-items: flex-start;
}

section.hero > div:nth-child(2) {
max-width: 100%;
height: 25rem;
}

.hero .buttons {
flex-direction: column;
}
}

@keyframes slideIn {
50% {
transform: translateX(-20px);
Expand Down

0 comments on commit fadc0a1

Please sign in to comment.