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
4.1k views
in Technique[技术] by (71.8m points)

左侧边栏收缩后,右主体部分宽度变大,内容需要如何调整?

两栏布局,左侧边栏可收缩,右边主体宽度必然变大,要怎么设置主体内容的宽度比较合适呢?
https://upload-images.jianshu...


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

1 Answer

0 votes
by (71.8m points)

为什么不让右侧的内容跟着变宽呢?

下面是我自己写过的一个东西。

这是左侧没有收回时的页面。
图片.png

这是左侧菜单栏收回去时的页面布局
图片.png


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

...