【发布时间】:2016-04-18 20:46:32
【问题描述】:
我正在尝试使用引导程序制作两列响应式布局。
我想在左栏中放置宽度为 100%/2 的内容,在右侧放置宽度为 100%/3 的固定侧边栏。
这是我用于侧边栏的 css,但在小提琴中,我附加侧边栏在左侧,我希望它在右侧。
#sidebar-wrapper {
z-index: 1000;
position: fixed;
left: 250px;
width: 0;
height: 100%;
margin-left: -250px;
overflow-y: auto;
background: #000;
-webkit-transition: all 0.5s ease;
-moz-transition: all 0.5s ease;
-o-transition: all 0.5s ease;
transition: all 0.5s ease;
}
小提琴:
https://jsfiddle.net/une5nhf4/
我怎样才能修改它以满足我的需要?
【问题讨论】:
标签: css twitter-bootstrap