@FazeenIjaz
Posted
Hi,
For button you are setting its color on button a
selector, while for hover you are just using button
, so due to less specificity of button as compared to buutton a
u need to add important tag.
For the width of main, you are using width two times in the same selector , that's why it is causing problem,
And flex-direction:row
is working fine without important tag.
I hope this will help.
Enjoy Coding:)
Marked as helpful