main-header main-title font-size 50px; padding-top 10; margin-top ; 输入框顶部与LOGIN标题的间距 如何将login标志上移少许
您可以使用负值的margin-top属性来将LOGIN标题上移,例如:
.main-header .main-title { font-size: 50px; padding-top: 10%; margin-top: -20px; /* 将LOGIN标题上移20像素 */ }
您可以根据需要调整负值的大小。
原文地址: https://www.cveoy.top/t/topic/fdQH 著作权归作者所有。请勿转载和采集!