Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

如何自适应画布 #7

Closed
zuilaoxian opened this issue Sep 12, 2021 · 3 comments
Closed

如何自适应画布 #7

zuilaoxian opened this issue Sep 12, 2021 · 3 comments

Comments

@zuilaoxian
Copy link

如果在移动端使用就会超出屏幕

@ganlvtech
Copy link
Owner

您可以尝试在 <head></head> 中增加

<meta name="viewport" content="width=570px">

强制移动端的 viewport 宽度是 570px

@mcoo
Copy link

mcoo commented Jan 20, 2022

如何让它自适应
image
U_EU RGIR}C5G2TF1}M)O6R
虽然我做了些努力 但好像还是不太行
https://mcenjoy.cn/404

@ganlvtech
Copy link
Owner

ganlvtech commented Dec 25, 2022

这个是你自己页面 CSS 的 overflow 的问题,你需要加一个 overflow-x: hidden

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants