Search code examples
cssvue.jssass

Is possible to style parent from child with scoped?


Fellas, I've tried to style my parent class but inside the child component within the scoped style like this

Child component

<style lang="sass" scoped>
  .public-page
    overflow: unset
</style>

which parent component class looks like this

.public-page
  flex: 1
  overflow: hidden
  width: 100vw
  font-size: 14px !important
  color: #233142

is it possible to do it? Thanks in advance


Solution

  • No.