让一个文字在父元素中垂直居中只需要将父元素的line-height设置成与父元素的height一样的值即可。
让一个文字在父元素中垂直居中
おすすめ
転載: blog.csdn.net/wdyliuxingfeiyang/article/details/118697241
おすすめ
ランキング