@MatzeW95
Posted
Hi I personally would try to set as less stuff as possible in your "main". After that you can use the section for just like a structure thing.(personally wouldn't set to much stuff in there as well) But inside the the "section" I would put a "div" that i would style. (This makes it easier to change stuff for your responsibility, because you have to only change it at one place) That "div" would only need something like "border-radius, background-color, width, margin: 5rem auto"
It's kinda hard to tell you that stuff in text if you want you can have a look at my solution: https://www.frontendmentor.io/challenges/qr-code-component-iux_sIO_H/hub/qr-code-component-cHniroyj2
@wkan17012021
Posted
@MatzeW95 Thanks Matthias I'm definitely trying to be as minimalistic as possible. I noticed in your code you didn't use absolute positioning, rather set the outer container top/right& left/ bottom margins to sit generally in the middle of the screen. That seems to be a simpler solution. Thanks for the feedback.