我的网页宽度是其中内容的两倍?为什么?
My Webpage width is twice as wide as the content in it ? Why?
我正在构建我的第一个网页,但宽度是其中内容的两倍,我找不到原因。这是 codepen 的 link,我真的很感激帮助,因为这让我现在被困了一个星期。谢谢。
link:
https://codepen.io/emryyk60/pen/BaLyWXr
<a href="https://codepen.io/emryyk60/pen/BaLyWXr?editors=1100" target="_blank">
您有很多语法错误,但为了快速修复,请调整以下代码:
发件人:
body{
display: flex;
justify-content: center;
font-family: 'Neutra', sans-serif; }
收件人:
body {
display: flex;
justify-content: center;
font-family: 'Neutra', sans-serif;
overflow-x: hidden;
}
我正在构建我的第一个网页,但宽度是其中内容的两倍,我找不到原因。这是 codepen 的 link,我真的很感激帮助,因为这让我现在被困了一个星期。谢谢。
link: https://codepen.io/emryyk60/pen/BaLyWXr
<a href="https://codepen.io/emryyk60/pen/BaLyWXr?editors=1100" target="_blank">
您有很多语法错误,但为了快速修复,请调整以下代码:
发件人:
body{
display: flex;
justify-content: center;
font-family: 'Neutra', sans-serif; }
收件人:
body {
display: flex;
justify-content: center;
font-family: 'Neutra', sans-serif;
overflow-x: hidden;
}