将2个按钮并排居中!DOCTYPE htmlhtmlhead title赞助页面title style body background-color #eee; font-family Arial sans-serif; container margin 0 auto; width 80; text-align center; h1 font-size 3
将两个按钮并排居中,可以将它们放在一个 div 容器中,设置容器的 display 属性为 flex,同时设置 justify-content 和 align-items 属性为 center。代码如下:
原文地址: https://www.cveoy.top/t/topic/0G1 著作权归作者所有。请勿转载和采集!