简体   繁体   中英

Unable to change vuetify button outline color

I am using Vuetify in my Nuxt app. I have a button which i want to customize, with the help of a class i try to change the border color but seems like it doesn't work.

What I am missing below??

<template>
  <div>
    <v-card class="py-5">      
      <v-btn depressed outlined class="fb-btn grey--text">
        Sign with Facebook
      </v-btn>
    </v-card>
  </div>
</template>
<style scoped>
  .fb-btn .v-btn--outlined {
    border: thin solid #CCCCCC;
  }
</style>

The CSS selector would be:

  .fb-btn.v-btn--outlined {
    border: thin solid #CCCCCC;
  }

Demo

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM