用的伸缩盒模型,比例设置一样,只因为多了两个字大小就受到了影响,该怎么解决。
.left{flex-grow: 1; height:105px;background-image: url("img/phone.png");background-repeat: no-repeat;
background-size: 50px;background-position: center;background-color:red;margin:5px 5px;
font-size: 12px;color: white;padding-top: 10px;padding-left: 10px;}
.right{flex-grow: 1; height:105px; background-image: url("img/phone.png");background-repeat: no-repeat; background-siz e: 50px;background-position: center;background-color:green;margin: 5px 5px; font-size: 12px;color: white;padding-top: 10px;padding-left: 10px;}这是代码。