<header>
<a href="#"><img src="images/back.png" class="left" ></a>
//中间放置什么元素比较好一些呢,用div会把右边的图片顶下去转成行内元素又不接受宽高(我不想用flex),谢谢!
<a href="#"><img src="images/home.png" class="right"></a>
</header>
html{ font-size:625%}
.clear{ clear:both;}
*{ margin:0;
padding:0;
font-size:0.12rem;}
header{ width:100%;
height:0.51rem;
background:#f8f9fa;}
header{ text-align:center;
font-size:0.18rem;
line-height:0.51rem;
font-weight:600;}
.left{ float:left;
margin-left:0.15rem;
margin-top:0.10rem; }
.right{ float:right;
margin-top:0.10rem;
margin-right:0.15rem;}
div元素居中定位