Skip to content

Commit

Permalink
btn Go up y meal-item margin movil display
Browse files Browse the repository at this point in the history
  • Loading branch information
JaviCalonge committed Sep 25, 2024
1 parent 410dcaf commit 10af171
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
2 changes: 1 addition & 1 deletion script.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ function getMealList () {
</div>
`
})
footerBtn.innerHTML += `<a href="#home"><button class="btn-up">Get up</button></a>`
footerBtn.innerHTML += `<a href="#home"><button class="btn-up">Go up</button></a>`
mealList.classList.remove("notFound")
}
else {
Expand Down
15 changes: 15 additions & 0 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -315,6 +315,21 @@ body{
font-size: 1.2rem;
margin: 0;
}
.btn-up {
width: 60px;
height: 60px;
margin-right: 50px;
margin-bottom: 50px;
}
}

@media (max-width: 500px) {
.meal-item {
margin: 10px;
}
.meal-search-box{
width: 380px;
}
}

@media screen and (min-width: 600px){
Expand Down

0 comments on commit 10af171

Please sign in to comment.