Binding to Style attribute in Vue.js

I have the following Div element and I am going to change the font size using data object

This is the Vue instance and you have the font_size data object

We will see another style binding example where you can create data object and assign it to the style attribute

You can see following output for above two cases