Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
所以我的网站中有大块文本,但现在 CSS 中的默认值是左对齐,所以所有文本都向左对齐。但是,假设我想将所有文本向右移动 100 像素。我如何在 CSS 中实现这一点?(我应该添加什么样的功能?)
谢谢!
您的问题有点不清楚,但是您正在寻找的 CSS是padding-left:100px 还是在 CSS 中?margin-left:100px
padding-left:100px
margin-left:100px