Open shawnolson-fp opened 5 years ago
I have a div styled as such using CSS modules syntax ...
<div :class="$style.containerCTA" v-in-viewport></div>
Style looks like this ...
<style lang="stylus" scoped module> .containerCTA { display: flex; align-items: center; max-width: 114rem; margin-left: auto; margin-right: auto; opacity: 0; transform: translate3d(0, 5px, 0); transition: opacity 0.2s, transform 0.3s; &.in-viewport { opacity: 1; transform: none; } } </style>
But it never actually does anything because the class isn't native... any suggestions?
Sorry, not really. We don't use css modules so I haven't run up against this.
I have a div styled as such using CSS modules syntax ...
<div :class="$style.containerCTA" v-in-viewport></div>
Style looks like this ...
But it never actually does anything because the class isn't native... any suggestions?