图片文字对齐
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<style>
.box {
width: 600px;
height: 375px;
background-color: #ccc;
}
.box img {
vertical-align: middle;
}
</style>
</head>
<body>
<div class="box">
<img src="https://dss1.bdstatic.com/70cFvXSh_Q1YnxGkpoWK1HF6hhy/it/u=3922290090,3177876335&fm=26&gp=0.jpg" alt="">
<span>我是文字</span>
</div>
</body>
</html>