css 引导卡“子类”,如卡标题不工作

9rbhqvlz  于 5个月前  发布在  其他
关注(0)|答案(1)|浏览(62)

我正试图将BlazorStrap插入现有的.net6 Blazor Web组件应用程序中。我认为我需要修复BootStrap的问题,然后才能期望BlazorStrap正常工作。
试着把它缩小到一个例子:

<div class="card" style="width: 18rem;">
    <div class="card-body">
        <h5 class="card-title">Card title</h5>
        <h6 class="card-subtitle mb-2 text-muted">Card subtitle</h6>
        <p class="card-text">Some quick example text to build on the card title and make up the bulk of the card's content.</p>
        <a href="#" class="card-link">Card link</a>
        <a href="#" class="card-link">Another link</a>
    </div>
</div>

字符串
卡片有一个边框和一个阴影,但卡片内部似乎没有任何样式。


的数据
有人能帮忙吗?
the source is here
run it here
预期值(来自bootstrap示例):


相关问题