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

item 里面元素大小问题 #11

Closed
howyhuang opened this issue Jul 4, 2016 · 1 comment
Closed

item 里面元素大小问题 #11

howyhuang opened this issue Jul 4, 2016 · 1 comment
Labels

Comments

@howyhuang
Copy link

howyhuang commented Jul 4, 2016

请教下大神,你是怎么解决移动端全屏div.item下子元素的,宽高和布局问题呢?
比如设计稿750*1334,我怎么设置子元素的大小
我现在用sass计算样式成rem,js来设置html对应的dip和字体大小,但是全屏活动在ip4小屏幕手机还是不能完美展现,请教大神有什么方法望告知,还是说百分比来解决或者根据设备整个页面缩放处理···哎 头疼

@lipten
Copy link
Owner

lipten commented Jul 21, 2016

建议试试淘宝的flexiable方案,http://www.tuicool.com/articles/nmm6reE
常规固定尺寸用rem ,一些需要适应屏幕宽度的就要用百分比。

@lipten lipten added the question label Jul 3, 2018
@lipten lipten closed this as completed May 29, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants