Setting style dynamically with Vue [4 of 16] | Beginner's Series to: Vue.js

One of the most common ways to set display dynamically in any web application is by adding or removing CSS classes. In fact, it's so common Vue.js has a special syntax to bind to the class attribute to determine which classes should be enabled or disabled. We'll see how to control style dynamically with Vue.

Sample code: https://github.com/microsoft/vue-beginners-videos 
Learn Path: https://aka.ms/CreateWebsitesWithVue
Node: https://nodejs.org/  
NPM: https://www.npmjs.com/  
Vue CLI: https://cli.vuejs.org/