最佳答案
按钮的宽度为 110px,但放置在宽度仅为 8.3333% 的 div 中。这来自 .s1 类。删除类会根据需要显示宽度为 110 像素的每个按钮。
.row .col.s1 {
/* width: 8.3333333333%; */
margin-left: auto;
left: auto;
right: auto;
}
关于html - div 宽度被忽略,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/39261126/