我正在尝试使用 Bootstrap 4 卡片布局自定义卡片列。但是,如果我在 css 文件中编写此代码,为什么会显示错误?
VS 代码中显示错误:规则@include css(unknownatrules) 处未知
HTML 文件
<div class="card-columns">
<div class="card" *ngFor="let item of vision">
<div class="card-header">{{item.heading}}</div>
<carousel [showIndicators]="false">
<slide *ngFor="let item of vision">
<img class="card-img-top embed-responsive embed-responsive-16by9" [src]="item.img" alt="vision image">
</slide>
</carousel>
</div>
</div>
Run Code Online (Sandbox Code Playgroud)
CSS文件
<div class="card-columns">
<div class="card" *ngFor="let item of vision">
<div class="card-header">{{item.heading}}</div>
<carousel [showIndicators]="false">
<slide *ngFor="let item of vision">
<img class="card-img-top embed-responsive embed-responsive-16by9" [src]="item.img" alt="vision image">
</slide>
</carousel>
</div>
</div>
Run Code Online (Sandbox Code Playgroud)
css twitter-bootstrap angular-bootstrap bootstrap-4 bootstrap-cards