--litters-range: 25%;
background: linear-gradient(
to right,
white var(--litters-range),
rgba(87, 87, 87, 0.46) var(--litters-range)
);
<template>
<div :style="{ '--litters-range': myComputedProperty }"></div>
</template>
<style>
div {
background: linear-gradient(
to right,
white v-bind(myComputedProperty),
rgba(87, 87, 87, 0.46) v-bind(myComputedProperty)
);
}
</style>