[英]My Webpage width is twice as wide as the content in it ? Why?
我正在構建我的第一個網頁,寬度是其中內容的兩倍,我找不到原因。 這是codepen的鏈接,我非常感謝幫助,因為這讓我現在卡了一個星期。 謝謝你。
鏈接: 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;
}
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.