@edwinc73
Posted
pretty cool!!!
To change the bg just used scss and depending on the section id I changed the image url. I found this to be the best way. you can check out mine to help you get a better idea
https://github.com/edwinc73/frontend-mentor-advanced-css/tree/master/05-space-tourism https://space-tourism-spa.vercel.app/
You can also have the image with a repeat none and change the object fit of the image so it doesnt tile.
you could use max-w-7xl mx-auto
which will define the max width to 1280px and then center the containers. This is good so it limits how far apart elements are in a screen.
i think in some elements there are some strange border radius values I think this is because of border-radius: 50%, the 50% will make it so a rectangle will become an oval shape.
Marked as helpful