CSS伪元素自带外边距解决方法

display:block

将伪元素转换为块元素,从而清空自带的外边距

猜你喜欢

转载自blog.csdn.net/qq_38603437/article/details/88404221
今日推荐