Move Div Up and Down Using Css

By | January 24, 2014

Move Div Up and Down Using CSS

We have seen that we have product list over our application/website and every time for selection new option we have to scroll to our navigation list which is at the top of our page. This is really annoying so for this best option is to move our list with our scroll. That’s sound better now so today we will see that how we can use it. We will move div up and down using css.

We will show you that how we will move our sidebar with the scrollbar. We will use a div and css style.


DEMO


For this we will create two div’s and we will move 1 div.

Here is the HTML part for the div

CSS part

above code will create two div and if you scroll one will go up and down with you.

Hope you will like my new tutorial for Move Div Up and Down Using CSS. if you have any query or feedback than please comment.

~~~~ Happy Coding ~~~~

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.