Is there a way to make a div slide in and out from the left to right when the user clicks on "clickthis"?
Here is an example of CSS code:
.container{width:100px; position:absolute; left:-70px;}
.container .open{left:0px;}
.button{display:block; top:0px; right:0px; width:20px; height:20px;position:relative;
And here is an example of HTML code:
<div class="container" id="slide1">
<div class="button" id="clickthis"></div>
</div>