vuetify v-card only two rounded corners

Viewed 901

I would like to have a v-card where only two corners are rounded. I tried the following but it didn't work (the card is rotated by 90°).

TEMPLATE:

<div class="text-center rotate-ninety ml-n6">
          <v-card 
            hover 
            ripple 
            class="rounded-card py-5 px-2" 
            elevation="10" 
            color="orange" 
          >
              <v-icon 
                color="black" 
                left
              >
                mdi-domain
              </v-icon>
              <span class="black--text">
                Domain
              </span>            
            </v-card>               
          </div> 

CSS:

.rotate-ninety {
  writing-mode: vertical-rl;
  text-orientation: mixed;
}

.rounded-card {
  border-top-left-radius: 25px;
  border-top-right-radius: 25px;
  border-bottom-left-radius: 0px;
  border-bottom-right-radius: 0px;
}

Do i miss something?

Thanks a lot Chris

2 Answers

Try to override the .v-sheet.v-card class rule like :

.rounded-card .v-sheet.v-card {
    border-radius: 25px 25px 0 0;
}

DEMO

Related