# 使用開發者工具頁面顯示大小卡在980px問題 參考文件:https://www.w3schools.com/css/css_rwd_viewport.asp * 在980以下的寬度都會卡住,以上就不會。    * 解決方式在 html head 中加入這段,就可解決這樣的問題。 ``` <meta name="viewport" content="width=device-width, initial-scale=1.0"> ``` * 或是在 vs code 上安裝 html Boilerplate 模組,輸入 html 後就可以選擇他預設好的,就會把基本的規格都生成給你。
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up