Html 两张卡在div内,宽度不相等
我在一个主分区中有两个分区。每个分区包含一张卡。问题是,第二个分区和卡的宽度与第一个分区和卡的宽度不同。我试着将“col-12”设置为on,它可以正常工作,但随后卡头样式中断。我用的是bootstrap4。为什么第二节没有完全伸展 @共享资源、索引、可操作性 @共享资源、索引、可操作性 @SharedResources.Index.SocialWelfareCenter @SharedResources.Index.family和dcustody @SharedResources.Index.family和dcustody @SharedResources.Index.Firstname @SharedResources.Index.Lastname @SharedResources.Index.RelationName @SharedResources.Index.DocumentURNumber @SharedResources.Index.PhoneNumber @SharedResources.Index.CellPhoneNumber @SharedResources.Index.CustodyIndicator @SharedResources.Index.EmergencyNotification @SharedResources.Index.FuneralNotification @SharedResources.Index.NoData › &拉阔; @SharedResources.Index.Record } 遵守游戏规则。从文件中 行是列的包装器。。。在网格布局中,内容必须是 放置在列中,并且只有列可以是 排 行仅用于包含列col-*而不包含其他元素,如卡Html 两张卡在div内,宽度不相等,html,css,bootstrap-4,Html,Css,Bootstrap 4,我在一个主分区中有两个分区。每个分区包含一张卡。问题是,第二个分区和卡的宽度与第一个分区和卡的宽度不同。我试着将“col-12”设置为on,它可以正常工作,但随后卡头样式中断。我用的是bootstrap4。为什么第二节没有完全伸展 @共享资源、索引、可操作性 @共享资源、索引、可操作性 @SharedResources.Index.SocialWelfareCenter @SharedResources.Index.family和dcustody @SharedResources.Index.
<container>
<row>
<col-12>
<card/>
</col>
<col-12>
<card/>
</col>
<col-12>
<card/>
</col>
</row>
</container>
或者
<container>
<row>
<col-12>
<card/>
</col>
</row>
<row>
<col-12>
<card/>
</col>
</row>
<row>
<col-12>
<card/>
</col>
</row>
</container>