/* mHome/pages/calculator/calculator.wxss */ .container { display: flex; flex-direction: row; width: 100%; } .shape { width: 16%; } .shape-item, .color-item, .neatness-item { display: grid; align-items: center; align-content: center; justify-content: center; text-align: center; border-bottom: 1px solid #ccc; border-right: 1px solid #ccc; height: 100px; } .shape-item text { margin-top: 5px; font-size: 28rpx; color: #333; } .color, .neatness { width: 13%; font-size: 14px; } .calculator { display: flex; flex-wrap: wrap; flex-direction: row; width: 58%; height: 370px; } .calculator view { width: 50%; height: 100px; display: grid; align-content: center; border-bottom: 1px solid #ddd; justify-content: start; } .calculator view text { margin: 10px; color: #333; } input { margin: 0px 0px 0px 10px; background-color: white; height: 40px; font-size: 14px; } .calculator view text:nth-child(1) { font-size: 13px; height: 15px; } .calculator view text:nth-child(2) { font-size: 16px; color: #333; height: 10px; } .calculator view text:nth-child(3) { font-size: 12px; color: #999; height: 15px; }