change styling in vue comp code example Example: vue inline style bind <div v-bind:style="{ color: activeColor, fontSize: fontSize + 'px' }"></div>