@RobinsonGabriel
Posted
Hi dev,
I don't think it's a terrible crack at it at all really. Esp if you don't do this stuff a ton it can take time to adjust. Points for using variables as it will make life easier on larger sheets, and I forgot CSS even supported them until I did a few designs myself (we all learn at our own pace... mine's just a bit unique.)
That said, what do you think is hackney in your design? Generally what's To answer the question around the component fitting the screen: you are probably thinking of working with a media query.
https://www.w3schools.com/css/css3_mediaqueries.asp
^^short explanation of them. So for example: you might have your component set to a certain unit as your minimum, generally when it starts to mess around with the text orientation, pic size, etc.
Hopefully this gives you something to chew over