I thought that setting a property such as:
padding-top: 25px;
was equivalent as doing the following (using shorthand):
padding: 25px unset unset unset;
However, this does not appear to be the case since the browser gives me a different results. Why is this? Just out of curiosity, how can achieve setting padding-top: 25px using the padding shorthand (just for fun).
Thank you.
padding-top
, don't use a shorthand. You can't set that without affecting the others.