.box { box-sizing: border-box; padding: 5px; overflow: hidden; .table { width: 100%; max-height: 100%; overflow-y: auto; } table { width: 100%; background: #2196f3; text-align: center; border-collapse:collapse; word-break:break-all; word-wrap:break-all; table-layout:fixed; .firstContent { width:50px; } th { height: 50px; font-weight: normal; font-size: 18px; color: #fff; // border-bottom: 1px solid rgb(211, 207, 207); } td { height: 50px; font-size: 15px; background-color: #fff; border-top: 1px solid rgb(211, 207, 207); } } } .fontColor{ cursor: pointer; color: #2196f3; }