Jump to content

SOLVED: [HTML & JS] move div when button clicked.

Go to solution Solved by W1ll1aming,
56 minutes ago, WillLTT said:

--snip--

found a solution:

try.it editor

The sidenav does not move content downwards and by that sidenav goes behind content and becomes useless.

 

test the code for yourself:

codepen

 

see for yourself:

ds.PNG

 

------------------------------------------------------------------------------------------------------

 

 

Link to comment
https://linustechtips.com/topic/1122313-solved-html-js-move-div-when-button-clicked/
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×