Great component ! you can improve your code by : -using semantic html like main instead of div.
- using rem unit instead of px. -using BEM methodology for naming classes in CSS. -using variables in CSS. -setting the margin and padding of all elements to 0 and box-sizing to border-box to avoid undesirable problems.
Enjoy coding !
Marked as helpful
@burcinalim
Posted
Thanks a lot! @AbderrahmaneGuerinik