Can we simplify the following code snippet by defining the value [6.25% - 5px] only once?
margin-top:calc(6.25% - 5px);margin-bottom:calc(6.25% - 5px)
Could it be optimized to something like this:
margin:calc(6.25% 0 0 - 5px)
However, the [0 0] part is causing an error. My point is that when defining margin properties, it's best to use shorthand notation rather than specifying each direction individually.
This context is for a footer design:
[margin-top]
Contact information
[margin-bottom]