@FluffyKas
Posted
Hey,
Not sure I understand your question correctly but have you tried using max-width instead of fixed width? That makes things pretty seamless without media queries. Most users don't click on Inspect in their browser though so they don't really experience size changes >.<
I also wouldn't use position: absolute
to center a component. Flexbox or grid is easier and fewer lines of code to implement ^^
Your solution otherwise looks pretty good, so well done!
Marked as helpful
@Abraham-Ogbumah
Posted
@FluffyKas Thank you for your response. I have now used flexbox to center the component and removed the absolute positioning.
Thank you for this