vue add ONE style to element from javascript code example
Example 1: inline style vue
<div :style="{color: ' #f67e7e'}" ></div>
Example 2: vue inline style bind
<div v-bind:style="{ color: activeColor, fontSize: fontSize + 'px' }"></div>
<div :style="{color: ' #f67e7e'}" ></div>
<div v-bind:style="{ color: activeColor, fontSize: fontSize + 'px' }"></div>