SyntaxFix
Write A Post
Hire A Developer
Questions
You can look into using LESS, which is a JavaScript file that pre-processes your CSS so you can include logic and variables into your CSS. So for your example, in LESS you would write width: 100% - 100px; to achieve exactly what you wanted :)
width: 100% - 100px;