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

hexo杂志博客的图标在手机上能否自适应显示的问题?(详细说明请看内容) #45

Open
KangChou opened this issue Apr 8, 2020 · 0 comments

Comments

@KangChou
Copy link

KangChou commented Apr 8, 2020

导致如下问题的原因是电脑端图片分辨率过大,但是我希望在手机也能自适应大小去显示,也就是适合手机的大小。

详细的问题描述:
问题描述:电脑上显示主页面高宽度正常,但是手机上的显示太大,图片的大小分辨率是1000*600的,我想让他在手机上也能正常显示页面大小(也就是自适应),请问我该如何操作?下面是提供的代码和参考系数:

# Put your avatar.jpg into `hexo-site/themes/hiero/source/` directory.

# url is target link (E.g. `url: https://hexo.io/logo.svg` or `url: css/images/mylogo.jpg`)

avatar:

enable: true

width: 980

height: 500

bottom: 10

url: css/images/blog.jpg

image
image

博客链接:
http://kangchou001.cn/

重复问题链接(可看可不看):

https://www.zhihu.com/question/386151907/answer/1137795784

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

1 participant