计算机专业菜只因一枚❤️木更小姐!!
只要让行高 line-height的值等于盒子的高,就可以让盒子内的文字垂直居中 使用text-align=center可以实现文字水平居中
line-height
text-align=center