.container { position: relative; } .container, .mojicontainer { display: flex; flex-direction: row; flex-wrap: wrap; align-items: flex-start; justify-content: flex-start; box-sizing: border-box; padding: 0; } .mojicontainer { background-color: #e0dac2; width: 100vw; align-content: flex-start; overflow-y: auto; overflow-x: hidden; } .mojidiv { width: 20%; border: 2rpx solid #ccc; box-sizing: border-box; } .mojidiv.sannbunn { width: 33.3333%; } .mojidiv view { text-align: center; } .mojidiv .moji-gana { height: 60rpx; line-height: 60rpx; color: #ac7346; } .moji-roomaji { background-color: #e4bfb6; height: 40rpx; color: #fff; } .footTabBar { display: flex; position: absolute; bottom: 0; left: 0; height: 100rpx; width: 100%; border-top: 2rpx solid #ccc; justify-content: space-around; align-items: center; background-color: #e4bfb6; color: #ac7346; } .tabnow { color: #fff; }