If you already knew it, I'm sorry, is not it easy to use calc?
For example in this case,
padding-right : calc( 100%/4 - 255px/4 );
I'm glad if you can use it as a reference
That's amazing! Thank you, ArcCosine! I didn't know about calc() in css. It does exactly, what I need.
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.