My HTML content looks like this:
https://i.sstatic.net/qEuVw.png
I have a padding of 70. I attempted to decrease the padding by adding another CSS rule like this:
padding-top: -20px !important
What I'm trying to achieve is to combine the existing property value of 70px with the additional rule of -20px, resulting in 50px.
I managed to accomplish this by using padding-top: 50px !important
, but I still want to perform these mathematical calculations directly in the CSS as mentioned above. Can you please assist?
Note: The current value is stored in a separate CSS rule, while the added one is in its own rule.