I'm trying to assign a dynamic style for a different bootstrap breakpoints. To change the position, etc. if the display is different width. So I'm applying v-bind style directive with vue. Am I doing it properly?
While the console gives an error - Whitespace was expected.
<div class="footer" :style="{$bootstrap.breakpoint.md ? "white" : "black"}">
</div>
<script>
white: {
background:
'white',
},
black: {
background:
'black',
},
</script>
It's not necessary to use the bootstrap brakepoints, though, can it be done with media queries?