I’m not sure exactly where the mix-up is happening here?
Is there some ordering or syntax error here?
background: linear-gradient(45deg, rgb(118, 201, 255), rgb(247, 255, 222));
margin-top property sets only the top margin but the
margin property sets all four margins (top, right, bottom, left). Since you put
margin-top then all four margin properties are being set to
auto and it is wiping out the previous
Gotcha - I had a feeling it was something with the ordering
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.