Bootstrap cards

A card is a flexible and extensible content container. It includes options for headers and footers, a wide variety of content, contextual background colors, and great display options.

It is hard to think of a better way of displaying your content to users other than by cards. Some of the biggest players like Facebook or Google are well aware of that, as you might have noticed in almost all their products.

Cards provide you with clarity, clean content categorisation and attractive form of presenting it to the users.

MDB enhances Bootstrap cards with characteristic Material Design features, such as slight shadows, depth, cascading or waves effects. Apart from that, it enriches it with additional optional animations, social icons, avatars and various other effects not available in a native Bootstrap.


Basic example

Card image cap

Card title

Some quick example text to build on the card title and make up the bulk of the card's content.

Button
<template>
            <card>
              <card-img src="https://mdbootstrap.com/img/Photos/Horizontal/Nature/4-col/img%20%286%29.jpg" alt="Card image cap"></card-img>
              <card-body>
                <card-title>Basic card</card-title>
                <card-text>Some quick example text to build on the card title and make up the bulk of the card's content.</card-text>
                <btn color="primary">Button</btn>
              </card-body>
            </card>
          </template>
          
          <script>
import { Card, CardImg, CardBody, CardTitle, CardText, Btn } from 'mdbvue';

export default {
  name: 'CardPage',
  components: {
    Card,
    CardImg,
    CardBody,
    CardTitle,
    CardText,
    Btn
  }
};
</script>

Waves effect

Card title

Some quick example text to build on the card title and make up the bulk of the card's content.

Button
<template>
  <card>
    <card-img src="https://mdbootstrap.com/img/Photos/Horizontal/Nature/4-col/img%20%282%29.jpg" alt="Card image cap" waves></card-img>
    <card-body>
      <card-title>Card with waves effect</card-title>
      <card-text>Some quick example text to build on the card title and make up the bulk of the card's content.</card-text>
      <btn color="primary">Button</btn>
    </card-body>
  </card>
</template>
<script>
import { Card, CardImg, CardBody, CardTitle, CardText, Btn } from 'mdbvue';

export default {
  name: 'CardPage',
  components: {
    Card,
    CardImg,
    CardBody,
    CardTitle,
    CardText,
    Btn
  }
};
</script>

Cascading cards MDB Pro component

Add cascade attribute to <card> to achieve cascading effect or wide / narrow to consider width relation of <card-img> to the <card> component.

Wider

Alice Mayer

Photographer

Sed ut perspiciatis unde omnis iste natus sit voluptatem accusantium doloremque laudantium, totam rem aperiam.

Narrower

Culinary

Cheat day inspirations

Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea commodi.

Button

Regular

Billy Cullen

Web developer

Lorem ipsum dolor sit amet, consectetur adipisicing elit. Voluptatibus, ex, recusandae. Facere modi sunt, quod quibusdam.

<template>
  <container>
    <h4 class="pb-2">Cascading cards</h4>
    <row>
      <column sm="4">
        <card wide>
          <view-wrapper hover cascade>
            <card-img src="https://mdbootstrap.com/img/Photos/Horizontal/People/6-col/img%20%283%29.jpg" alt="Card image cap"></card-img>
            <md-mask flex-center waves overlay="white-slight"></md-mask>
          </view-wrapper>
          <card-body class="text-center" cascade>
            <card-title><strong>Alice Mayer</strong></card-title>
            <h5 class="indigo-text"><strong>Photographer</strong></h5>
            <card-text>Sed ut perspiciatis unde omnis iste natus sit voluptatem accusantium doloremque laudantium, totam rem aperiam.</card-text>
            <a class="fa-lg li-ic px-2"><fa icon="linkedin" /></a>
            <a class="fa-lg tw-ic px-2"><fa icon="twitter" /></a>
            <a class="fa-lg fb-ic px-2"><fa icon="facebook" /></a>
          </card-body>
        </card>
      </column>
      <column sm="4">
        <card narrow>
          <view-wrapper hover cascade>
            <card-img src="https://mdbootstrap.com/img/Photos/Lightbox/Thumbnail/img%20(147).jpg" alt="Card image cap"></card-img>
            <md-mask flex-center waves overlay="white-slight"></md-mask>
          </view-wrapper>
          <card-body cascade>
            <h5 class="pink-text pb-2 pt-1"><fa icon="cutlery" /> Culinary</h5>
            <card-title>Cheat day inspirations</card-title>
            <card-text>Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea commodi.</card-text>
            <btn color="unique">Button</btn>
          </card-body>
        </card>
      </column>
      <column sm="4">
        <card cascade>
          <view-wrapper hover cascade>
            <card-img src="https://mdbootstrap.com/img/Photos/Others/men.jpg" alt="Card image cap"></card-img>
            <md-mask flex-center waves overlay="white-slight"></md-mask>
          </view-wrapper>
          <card-body class="text-center" cascade>
            <card-title><strong>Billy Cullen</strong></card-title>
            <h5>Web developer</h5>
            <card-text>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Voluptatibus, ex, recusandae. Facere modi sunt, quod quibusdam.</card-text>
            <btn tag="a" floating small class="btn-fb"><fa icon="facebook" /></btn>
            <btn tag="a" floating small class="btn-tw"><fa icon="twitter" /></btn>
            <btn tag="a" floating small class="btn-dribbble"><fa icon="dribbble" /></btn>
          </card-body>
        </card>
      </column>
    </row>
  </container>
</template>

<script>
import { Container, Row, Column, Card, CardImg, CardHeader, CardBody, CardTitle, CardText, CardFooter, CardUp, CardAvatar, CardGroup, CardDeck, Btn, ViewWrapper, MdMask, Fa } from 'mdbvue';

export default {
  name: 'CardProPage',
  components: {
    Container,
    Row,
    Column,
    Card,
    CardImg,
    CardHeader,
    CardBody,
    CardTitle,
    CardText,
    CardFooter,
    CardUp,
    CardAvatar,
    CardGroup,
    CardDeck,
    Btn,
    ViewWrapper,
    MdMask,
    Fa
  }
};
</script>

Cascading panels

Mattonit

The Boar

Lorem ipsum dolor sit amet, consectetur adipisicing elit. Voluptatibus, ex, recusandae. Facere modi sunt, quod quibusdam dignissimos neque rem nihil ratione est placeat vel, natus non quos laudantium veritatis sequi.Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea commodi.

Title of the news

26.07.2017

Lorem ipsum dolor sit amet, consectetur adipisicing elit. Voluptatibus, ex, recusandae. Facere modi sunt, quod quibusdam dignissimos neque rem nihil ratione est placeat vel, natus non quos laudantium veritatis sequi.Ut enim ad minima veniam, quis nostrum.

Read more

Marta

Deserves her own card

Lorem ipsum dolor sit amet, consectetur adipisicing elit. Voluptatibus, ex, recusandae. Facere modi sunt, quod quibusdam dignissimos neque rem nihil ratione est placeat vel, natus non quos laudantium veritatis sequi.Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam.


<template>
  <container>
    <row>
      <column sm="4">
        <card narrow>
          <view-wrapper gradient="purple" cascade>
            <h2 class="h2-responsive">Mattonit</h2>
            <p>The Boar</p>
            <btn tag="a" floating transparent small><fa icon="facebook" /></btn>
            <btn tag="a" floating transparent small><fa icon="twitter" /></btn>
            <btn tag="a" floating transparent small><fa icon="google-plus" /></btn>
          </view-wrapper>
          <card-body class="text-center" cascade>
            <card-text>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Voluptatibus, ex, recusandae. Facere modi sunt, quod quibusdam dignissimos neque rem nihil ratione est placeat vel, natus non quos laudantium veritatis sequi.Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea commod</card-text>
          </card-body>
        </card>
      </column>
      <column sm="4">
        <card wide>
          <view-wrapper gradient="peach" cascade>
            <h2 class="h2-responsive">Title of the news</h2>
            <p><fa icon="calendar" /> 26.07.2017</p>
          </view-wrapper>
          <card-body class="text-center" cascade>
            <card-text>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Voluptatibus, ex, recusandae. Facere modi sunt, quod quibusdam dignissimos neque rem nihil ratione est placeat vel, natus non quos laudantium veritatis sequi.Ut enim ad minima veniam, quis nostrum.</card-text>
            <a class="orange-text mt-1 d-flex flex-row-reverse">
              <h5 class="p-2" waves>Read more <fa icon="angle-double-right" class="ml-2"/></h5>
            </a>
          </card-body>
        </card>
      </column>
      <column sm="4">
        <card cascade>
          <view-wrapper gradient="blue" cascade>
            <h2 class="h2-responsive">Marta</h2>
            <p>Deserves her own card</p>
          </view-wrapper>
          <card-body class="text-center" cascade>
            <card-text>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Voluptatibus, ex, recusandae. Facere modi sunt, quod quibusdam dignissimos neque rem nihil ratione est placeat vel, natus non quos laudantium veritatis sequi.Ut enim ad minima veniam, quis nostrum.</card-text>
            <hr/>
            <a class="px-2 fa-lg li-ic"><fa icon="linkedin" /></a>
            <a class="px-2 fa-lg tw-ic"><fa icon="twitter" /></a>
            <a class="px-2 fa-lg fb-ic"><fa icon="facebook" /></a>
            <a class="px-2 fa-lg email-ic"><fa icon="envelope" /></a>
          </card-body>
        </card>
      </column>
    </row>
  </container>
</template>

(... Script part the same as in Cascading Cards ...)

Reversed cascade

My adventure
Photography

Sed ut perspiciatis unde omnis iste natus sit voluptatem accusantium doloremque laudantium, totam rem aperiam.

<template>
<container>
    <row>
      <card reverse>
        <view-wrapper hover cascade>
          <card-img src="https://mdbootstrap.com/img/Photos/Slides/img%20(70).jpg" alt="Card image cap"></card-img>
          <md-mask waves overlay="white-slight"></md-mask>
        </view-wrapper>
        <card-body class="text-center" cascade>
          <card-title><strong>My adventure</strong></card-title>
          <h5 class="indigo-text"><strong>Photography</strong></h5>
          <card-text>Sed ut perspiciatis unde omnis iste natus sit voluptatem accusantium doloremque laudantium, totam rem aperiam.</card-text>
          <a class="px-2 fa-lg li-ic"><fa icon="linkedin" /></a>
          <a class="px-2 fa-lg tw-ic"><fa icon="twitter" /></a>
          <a class="px-2 fa-lg fb-ic"><fa icon="facebook" /></a>
        </card-body>
      </card>
    </row>
  </container>
</template>

(... Script part the same as in Cascading Cards ...)

Action button & footer MDB Pro component

Card title


Some quick example text to build on the card title and make up the bulk of the card's content.

<template>
  <container>
    <row>
      <column sm="4">
        <card>
          <view-wrapper hover>
            <card-img src="https://mdbootstrap.com/img/Photos/Others/food.jpg" alt="Card image cap"></card-img>
            <md-mask flex-center waves overlay="white-slight"></md-mask>
          </view-wrapper>
          <btn tag="a" floating action class="ml-auto mr-4 mdb-color lighten-3"><fa icon="chevron-right" class="pl-1" /></btn>
          <card-body>
            <card-title>Card title</card-title>
            <hr/>
            <p class="font-small grey-dark-text mb-0">Some quick example text to build on the card title and make up the bulk of the card's content.</p>
          </card-body>
          <card-footer color="mdb-color" class="lighten-3 p-0 text-center">
            <ul class="list-unstyled list-inline font-small mt-3">
              <li class="list-inline-item pr-2 white-text"><fa icon="clock-o" class="pr-1" />05/10/2015</li>
              <li class="list-inline-item pr-2"><a href="#" class="white-text"><fa icon="comments-o" class="pr-1" />12</a></li>
              <li class="list-inline-item pr-2"><a href="#" class="white-text"><fa icon="facebook" class="pr-1" />21</a></li>
              <li class="list-inline-item"><a href="#" class="white-text"><fa icon="twitter" class="pr-1" />5</a></li>
            </ul>
          </card-footer>
        </card>
      </column>
    </row>
  </container>
</template>

(... Script part the same as in Cascading Cards ...)

Flat buttons MDB Pro component

Light version

Card title


Some quick example text to build on the card title and make up the bulk of the card's content.

Read more
<template>
  <container>
    <row>
      <column sm="4">
        <card>
          <view-wrapper hover>
            <card-img src="https://mdbootstrap.com/img/Photos/Horizontal/Nature/4-col/img%20%28131%29.jpg" alt="Card image cap"></card-img>
            <md-mask flex-center waves overlay="white-slight"></md-mask>
          </view-wrapper>
          <card-body>
            <card-title>Light version</card-title>
            <a class="activator p-3 mr-2"><fa icon="share-alt" /></a>
            <hr/>
            <card-text>Some quick example text to build on the card title and make up the bulk of the card's content.</card-text>
            <a class="link-text"><h5>Read more <fa icon="chevron-right" class="pl-1" /></h5></a>
          </card-body>
        </card>
      </column>
    </row>
  </container>
</template>

(... Script part the same as in Cascading Cards ...)

Dark version

Add a prop card-dark to use a dark variation.

Card title


Some quick example text to build on the card title and make up the bulk of the card's content.

Read more
<template>
  <container>
    <row>
      <column sm="4">
        <card dark>
          <view-wrapper hover>
            <card-img src="https://mdbootstrap.com/img/Photos/Horizontal/Nature/4-col/img%20%28131%29.jpg" alt="Card image cap"></card-img>
            <md-mask flex-center waves overlay="white-slight"></md-mask>
          </view-wrapper>
          <card-body color="elegant" class="white-text">
            <card-title>Dark version</card-title>
            <a class="activator p-3 mr-2"><fa icon="share-alt" /></a>
            <hr class="hr-light"/>
            <p class="font-small mb-3">Some quick example text to build on the card title and make up the bulk of the card's content.</p>
            <a class="d-flex justify-content-end"><h5>Read more <fa icon="chevron-right" class="pl-2" /></h5></a>
          </card-body>
        </card>
      </column>
    </row>
  </container>
</template>

(... Script part the same as in Cascading Cards ...)

Testimonial card MDB Pro component

To change a background color use one of over 300 color classes from our palette.

woman avatar

Anna Doe


Lorem ipsum dolor sit amet, consectetur adipisicing elit. Eos, adipisci

woman avatar

Martha Smith


Lorem ipsum dolor sit amet, consectetur adipisicing elit. Eos, adipisci

<template>
  <container>
    <row>
      <column sm="4">
        <card testimonial>
          <card-up color="indigo" class="lighten-1"></card-up>
          <card-avatar color="white" class="mx-auto"><img src="https://mdbootstrap.com/img/Photos/Avatars/img%20%2810%29.jpg" class="rounded-circle"></card-avatar>
          <card-body>
            <card-title>Anna Doe</card-title>
            <hr/>
            <p><fa icon="quote-left" /> Lorem ipsum dolor sit amet, consectetur adipisicing elit. Eos, adipisci</p>
          </card-body>
        </card>
      </column>
      <column sm="4">
        <card testimonial>
          <card-up gradient="aqua" class="lighten-1"></card-up>
          <card-avatar color="white" class="mx-auto"><img src="https://mdbootstrap.com/img/Photos/Avatars/img%20%2831%29.jpg" class="rounded-circle"></card-avatar>
          <card-body>
            <card-title>Martha Smith</card-title>
            <hr/>
            <p><fa icon="quote-left" /> Lorem ipsum dolor sit amet, consectetur adipisicing elit. Eos, adipisci</p>
          </card-body>
        </card>
      </column>
    </row>
  </container>
</template>

(... Script part the same as in Cascading Cards ...)

Image overlay MDB Pro component

Marketing

This is card title

Lorem ipsum dolor sit amet, consectetur adipisicing elit. Repellat fugiat, laboriosam, voluptatem, optio vero odio nam sit officia accusamus minus error nisi architecto nulla ipsum dignissimos. Odit sed qui, dolorum!.

View project
Software

This is card title

Lorem ipsum dolor sit amet, consectetur adipisicing elit. Repellat fugiat, laboriosam, voluptatem, optio vero odio nam sit officia accusamus minus error nisi architecto nulla ipsum dignissimos. Odit sed qui, dolorum!.

View project
<template>
  <container>
    <row>
      <column sm="6">
        <card class="card-image" style="background-image: url(https://mdbootstrap.com/img/Photos/Horizontal/Work/4-col/img%20%2814%29.jpg)">
          <div class="text-white text-center d-flex align-items-center rgba-black-strong py-5 px-4">
            <div>
              <h5 class="pink-text"><fa icon="pie-chart" /> Marketing</h5>
              <card-title tag="h3" class="pt-2"><strong>This is card title</strong></card-title>
              <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Repellat fugiat, laboriosam, voluptatem,
                  optio vero odio nam sit officia accusamus minus error nisi architecto nulla ipsum dignissimos.
                  Odit sed qui, dolorum!.</p>
              <btn color="pink"><fa icon="clone left" /> View project</btn>
            </div>
          </div>
        </card>
      </column>
      <column sm="6">
        <card class="card-image" style="background-image: url('https://mdbootstrap.com/img/Photos/Horizontal/City/6-col/img%20(47).jpg')">
          <div class="text-white text-center d-flex align-items-center rgba-indigo-strong py-5 px-4">
            <div>
              <h5 class="orange-text"><fa icon="desktop" /> Software</h5>
              <card-title tag="h3" class="pt-2"><strong>This is card title</strong></card-title>
              <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Repellat fugiat, laboriosam, voluptatem,
                  optio vero odio nam sit officia accusamus minus error nisi architecto nulla ipsum dignissimos.
                  Odit sed qui, dolorum!.</p>
              <btn color="deep-orange"><fa icon="clone left" /> View project</btn>
            </div>
          </div>
        </card>
      </column>
    </row>
  </container>
</template>

(... Script part the same as in Cascading Cards ...)

Card groups

Use card groups to render cards as a single, attached element with equal width and height columns. Card groups use display: flex; to achieve their uniform sizing.

Card title

Some quick example text to build on the card title and make up the bulk of the card's content.

Card title

Some quick example text to build on the card title and make up the bulk of the card's content.

Card title

Some quick example text to build on the card title and make up the bulk of the card's content.

<template>
  <container>
    <row>
      <card-group>
        <card>
          <view-wrapper hover>
            <card-img src="https://mdbootstrap.com/img/Photos/Others/images/49.jpg" alt="Card image cap"></card-img>
            <md-mask flex-center waves overlay="white-slight"></md-mask>
          </view-wrapper>
          <card-body>
            <card-title>Card title</card-title>
            <card-text>Some quick example text to build on the card title and make up the bulk of the card's content.</card-text>
            <btn color="primary">Read more</btn>
          </card-body>
        </card>
        <card>
          <view-wrapper hover>
            <card-img src="https://mdbootstrap.com/img/Photos/Others/images/48.jpg" alt="Card image cap"></card-img>
            <md-mask flex-center waves overlay="white-slight"></md-mask>
          </view-wrapper>
          <card-body>
            <card-title>Card title</card-title>
            <card-text>Some quick example text to build on the card title and make up the bulk of the card's content.</card-text>
            <btn color="primary">Read more</btn>
          </card-body>
        </card>
        <card>
          <view-wrapper hover>
            <card-img src="https://mdbootstrap.com/img/Photos/Others/images/77.jpg" alt="Card image cap"></card-img>
            <md-mask flex-center waves overlay="white-slight"></md-mask>
          </view-wrapper>
          <card-body>
            <card-title>Card title</card-title>
            <card-text>Some quick example text to build on the card title and make up the bulk of the card's content.</card-text>
            <btn color="primary">Read more</btn>
          </card-body>
        </card>
      </card-group>
    </row>
  </container>
</template>

(... Script part the same as in Cascading Cards ...)

Card decks

Need a set of equal width and height cards that aren’t attached to one another? Use card decks.

Card title

Some quick example text to build on the card title and make up the bulk of the card's content.

Card title

Some quick example text to build on the card title and make up the bulk of the card's content.

Card title

Some quick example text to build on the card title and make up the bulk of the card's content.

<template>
  <container>
    <row>
      <card-group deck>
        <card>
          <view-wrapper hover>
            <card-img src="https://mdbootstrap.com/img/Photos/Others/images/16.jpg" alt="Card image cap"></card-img>
            <md-mask flex-center waves overlay="white-slight"></md-mask>
          </view-wrapper>
          <card-body>
            <card-title>Card title</card-title>
            <card-text>Some quick example text to build on the card title and make up the bulk of the card's content.</card-text>
            <btn color="primary">Read more</btn>
          </card-body>
        </card>
        <card>
          <view-wrapper hover>
            <card-img src="https://mdbootstrap.com/img/Photos/Others/images/14.jpg" alt="Card image cap"></card-img>
            <md-mask flex-center waves overlay="white-slight"></md-mask>
          </view-wrapper>
          <card-body>
            <card-title>Card title</card-title>
            <card-text>Some quick example text to build on the card title and make up the bulk of the card's content.</card-text>
            <btn color="primary">Read more</btn>
          </card-body>
        </card>
        <card>
          <view-wrapper hover>
            <card-img src="https://mdbootstrap.com/img/Photos/Others/images/15.jpg" alt="Card image cap"></card-img>
            <md-mask flex-center waves overlay="white-slight"></md-mask>
          </view-wrapper>
          <card-body>
            <card-title>Card title</card-title>
            <card-text>Some quick example text to build on the card title and make up the bulk of the card's content.</card-text>
            <btn color="primary">Read more</btn>
          </card-body>
        </card>
      </card-deck>
    </row>
  </container>
</template>

(... Script part the same as in Cascading Cards ...)

Flipping cards MDB Pro component

Bootstrap flipping card is a card animation that gives an element effect of flipping to the other side upon the interaction. The Vue component is in fact a wrapper taking in two cards (holding face front and face back classes) and a flipped boolean prop responsible for rendering either side. This way you can apply your own flip-firing logic wherever you like.

See the two basic Vue Bootstrap flipping card examples:

Image with a photo of clouds.
Sample avatar image.

Marie Johnson

Web developer

Click here to rotate

About me


Lorem ipsum dolor sit amet, consectetur adipisicing elit. Maxime quae, dolores dicta. Blanditiis rem amet repellat, dolores nihil quae in mollitia asperiores ut rerum repellendus, voluptatum eum, officia laudantium quaerat?


Click here to rotate back


<template>
  <flipping-card :flipped="flipped" innerClass="text-center h-100 w-100" style="max-width: 22rem">

    <card class="face front">
      <card-up>
        <img  class="card-img-top" src="https://mdbootstrap.com/img/Photos/Others/photo7.jpg" alt="a photo of a house facade" />
      </card-up>
      <avatar class="mx-auto white" circle>
        <img src="https://mdbootstrap.com/img/Photos/Avatars/img%20(20).jpg" class="rounded-circle"/>
      </avatar>
      <card-body>
        <h4 class="font-weight-bold mb-3">Marie Johnson</h4>
        <p class="font-weight-bold blue-text">Web developer</p>
        <a class="rotate-btn" @click="flipped=true"><Fa icon="repeat"/> Click here to rotate</a>
      </card-body>
    </card>

    <card class="face back">
      <card-body>
        <h4 class="font-weight-bold">About me</h4>
        <hr/>
        <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Maxime quae, dolores dicta. Blanditiis rem amet repellat, dolores nihil quae in mollitia asperiores ut rerum repellendus, voluptatum eum, officia laudantium quaerat?
        </p>
        <hr/>
        <ul class="list-inline py-2">
          <li class="list-inline-item"><a class="p-2 fa-lg fb-ic"><Fa icon="facebook"/></a></li>
          <li class="list-inline-item"><a class="p-2 fa-lg tw-ic"><Fa icon="twitter"/></a></li>
          <li class="list-inline-item"><a class="p-2 fa-lg gplus-ic"><Fa icon="google-plus"/></a></li>
          <li class="list-inline-item"><a class="p-2 fa-lg li-ic"><Fa icon="linkedin"/></a></li>
        </ul>
        <a class="rotate-btn" @click="flipped=false"><Fa icon="undo"/> Click here to rotate back</a>
      </card-body>
    </card>

  </flipping-card>
</template>

<script>
import { Card, CardBody, CardTitle, CardText, CardUp, Btn, Fa, FlippingCard, Avatar } from 'mdbvue';

export default {
  name: 'CardProPage',
  components: {
    Card,
    CardBody,
    CardTitle,
    CardText,
    CardUp,
    Btn,
    Fa,
    FlippingCard,
    Avatar
  },
  data() {
    return {
      flipped: false,
    };
  }
};
</script>
          

Click on the button to launch the animation.

Card title


Lorem ipsum dolor sit amet, consectetur adipisicing elit. Fugiat tenetur odio suscipit non commodi vel eius veniam maxime.

Read more

Social shares


Join our community

<template>
  <flipping-card :flipped="flipped" innerClass="h-100 w-100" style="max-width: 22rem">

    <card class="face front">
      <view-wrapper hover>
        <img class="card-img-top" src="https://mdbootstrap.com/img/Photos/Others/photo5.jpg" alt="Example photo">
        <a><md-mask overlay="white-slight"/></a>
      </view-wrapper>
      <card-body>
        <a class="rotate-btn float-right"><fa icon="share-alt" class="fa-lg" @click.native="flipped=true"></fa></a>
        <h4>Card title</h4>
        <hr>
        <card-text>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Fugiat tenetur odio suscipit non commodi vel eius veniam maxime.</card-text>
        <a class="link-text">
          <h5>Read more <fa icon="angle-double-right"></fa></h5>
        </a>
      </card-body>
    </card>

    <card class="face back">
      <div class="text-center">
        <card-title class="font-weight-bold my-4">Social shares <fa icon="close" class="text-muted" @click.native="flipped=false"/></card-title>
        <hr/>
        <ul class="list-unstyled d-flex justify-content-center flex-wrap list-inline my-4">
          <li class="list-inline-item"><btn tag="a" floating color="dribbble"><fa icon="dribbble"/></btn></li>
          <li class="list-inline-item"><btn tag="a" floating color="slack"><fa icon="slack"/></btn></li>
          <li class="list-inline-item"><btn tag="a" floating color="ins"><fa icon="instagram"/></btn></li>
          <li class="list-inline-item"><btn tag="a" floating color="pin"><fa icon="pinterest"/></btn></li>
          <li class="list-inline-item"><btn tag="a" floating color="tw"><fa icon="twitter"/></btn></li>
          <li class="list-inline-item"><btn tag="a" floating color="gplus"><fa icon="google-plus"/></btn></li>
          <li class="list-inline-item"><btn tag="a" floating color="git"><fa icon="github"/></btn></li>
        </ul>
        <h5 class="font-weight-bold my-4">Join our community</h5>
        <hr/>
        <ul class="list-unstyled list-inline d-flex justify-content-center flex-wrap mt-4">
          <li class="list-inline-item"><btn tag="a" color="fb" class="px-4"><fa icon="facebook"/></btn></li>
          <li class="list-inline-item"><btn tag="a" color="tw" class="px-4"><fa icon="twitter"/></btn></li>
          <li class="list-inline-item"><btn tag="a" color="li" class="px-4"><fa icon="linkedin"/></btn></li>
          <li class="list-inline-item"><btn tag="a" color="ins" class="px-4"><fa icon="instagram"/></btn></li>
        </ul>
      </div>
    </card>

  </flipping-card>
</template>


<script>
import { Card, CardBody, CardTitle, CardText, CardUp, Btn, ViewWrapper, MdMask, Fa, FlippingCard, Avatar } from 'mdbvue';

export default {
  name: 'CardProPage',
  components: {
    Card,
    CardBody,
    CardTitle,
    CardText,
    CardUp,
    Btn,
    ViewWrapper,
    MdMask,
    Fa,
    FlippingCard,
  },
  data() {
    return {
      flipped: false,
    };
  }
};
</script>