I
I
Igor Mezentsev2016-03-16 17:00:28
css
Igor Mezentsev, 2016-03-16 17:00:28

How to make fixed sidebar scrolling content?

b2750770b49e4c3ea222060d86450100.pngThere is a layout: header, sidebar, content block, and footer.
We need a fixed sidebar, and a scrolling block for content, and the sidebar becomes fixed only after scrolling the header, and the footer appears only after the entire block with content scrolls to the end.
Hope I explained clearly. Is it feasible?
And yes, it is desirable that it all work in bootstrap.
UPD: on the Toaster, such a layout is in fact.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
G
Gregory, 2016-03-16
@TMGLUK

Try one of the sticky plugins. For example, jquery.pin

A
Anton, 2016-03-16
@SPAHI4

https://getbootstrap.com/javascript/#affix

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question