Lucas πΎβ’ 104,440
@correlucas
Posted
πΎHello saskue7, congratulations for your new solution!
Your component is perfect, but its not responsive yet. To fix this behavior all you need to do is replace the width
with max-width
. Note that the difference between these two properties is that width
is fixed, example, width: 100px
is an element that doesnt get bigger or smaller than 100px`` but
max-width: 100pxhave the maximum of
100px` and can contract when the screen scales down.
π I hope this helps you and happy coding!
0