Using numbers from css class as css values : I'm trying to streamline css styling. Is it possible to use a number in the css class as a value to be applied? Like parameters in a php or javascript function

Ex. 
<div class="pad-left-35">Div with 35px padding left </div>
<div class="pad-left-10">Div with 10px padding left </div>

.pad-left-[value] { padding-left: 'value'px; }
.color-[value] { color: 'value'; }
