Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
636 views
in Technique[技术] by (71.8m points)

请问图中应该如何修改为响应式布局?

image.png,如图,地图部分的几个菜单在分辨率较低的屏幕下,会被挤到外面,这里用到的是element的row,image.png,每个row里有一个.content,image.png,image.png应该如何修改可以让这个菜单适配不同的分辨率呢?


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

其实这里不一定要用响应式布局,响应式要 media query 去查,然后重新设计布局

你这里直接设置一个最小高度,超出部分滚动即可。
或者直接缩放布局,小屏看着小,大屏看着大。


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...