关键代码 .item-txt .fr::before{ content: ‘’; display: inline-block; vertical-align: middle; height: 100%; }