Outline
V-Bind
is commonly used to bind styles to Vue components, and a common use case is to conditionally change things like classes and inline styles.
We cover several ways of binding styles in this video, and show you how to conditionally render a class based on whether or not conditions are met.
To view the example demo for this video, feel free to look at the codesandbox here: https://codesandbox.io/s/directives-intro-b2lfk by looking at MarksComponent.vue