A `position:fixed` sidebar whose width is set in percentage?

前端 未结 5 1121
无人及你
无人及你 2021-01-02 09:01

I\'ve successfully used the beautiful Susy grid system to create a responsive layout similiar to the one of WebDesignerWall.com:

What i failed to implement is a

5条回答
  •  既然无缘
    2021-01-02 09:50

    You can't, fixed-position elements are detached from their containers, position: relative or no position: relative. Just set its width to an absolute value - it looks like your content is always 760 pixels wide, right?

提交回复
热议问题