css 文字 上下左右居中

 

1、左右居中

text-align: center;

2、左右居中’

css

line-height: 1.5;

css3

display: flex;
align-items: center; 

  

posted @ 2022-07-14 15:06  #青鸟爱吃鱼  阅读(2801)  评论(0编辑  收藏  举报