@AbdelrhmanX7
Posted
Hi Sachin you can use width: 400px instead of 30% because he percentage value is change by body width change example if i have body width value 1000px and i use width 30% for main element now if body width change from 1000px to 500px the main element will change from 300 to 150px and sometimes that not be perfect to element on your website. you can use specific width value like 250px and this value will never change by body width value change
Marked as helpful