question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Card Component is not looks well

See original GitHub issue

I’ve tried Card with variant property in Playground, that’s ok. But in Vue new project, variant property is useless:

wx20170815-190825

<template>
  <div class="container">
    <b-card variant="primary" class="mb-3 text-center">
      <p class="card-text">Lorem ipsum dolor sit amet, consectetur adipiscing elit.</p>
    </b-card>

    <b-card variant="outline-primary" class="mb-3 text-center">
      <p class="card-text">Lorem ipsum dolor sit amet, consectetur adipiscing elit.</p>
    </b-card>

    <b-card inverse title="Card Title" style="background-color:#333; border-color:#333;">
      <p class="card-text">With supporting text below as a natural lead-in to additional content.</p>
      <b-button href="#" variant="primary">Go somewhere</b-button>
    </b-card>

    <b-alert show>
        Default Alert
    </b-alert>

    <b-alert variant="success" show>
        Success Alert
    </b-alert>
  </div>
</template>

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
tmorehousecommented, Aug 15, 2017

For now, until the dev branch is published into master, you will need to manually edit the dependency.

Not that V1.0.0.beta of BootstrapVue has many breaking changes (and features) to address Boostrap V4.0.0.beta

0reactions
wangzexicommented, Aug 15, 2017

Thanks a lot! 🎉

Read more comments on GitHub >

github_iconTop Results From Across the Web

MUI Cards are not rendering with style - Stack Overflow
I am importing the Card component from MUI but the component does not have any style. import * as React from "react"; import...
Read more >
Cards - Inclusive Components
Research may show that your audience doesn't do well with a tab interface precisely as recommended. Nonetheless, those requirements are there.
Read more >
Cards: UI-Component Definition - Nielsen Norman Group
A “card” is a UI design pattern that groups related information in a flexible-size container visually resembling a playing card.
Read more >
Simple Design Tips for Crafting Better UI Cards | by Nick Babich
Principles of UI card design · Efficient. Avoid overloading cards with extraneous information or actions. · Meaningful. Each card should contain ...
Read more >
How to Build a Card Component - Mediacurrent
Why <article> and not <div>? Well, since the card is intended to contain an event's info, if we place a bunch of cards...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found