I'm trying to make a page slide out from outside of the screen by using a css3 transition. I'm able to get the page on the screen but I cannot get it to slide out when I click on the respective button(s).
The transition in my css file:
#about {
background: #262626;
opacity: 0.75;
filter: alpha(opacity=75);
width: 100%;
height: 364px;
position: -99999px left;
}
#about:target {
position: +99999px left;
width: 10%;
height: 10%;
}
The button(s) in my html file: (Just working on the About me page at the moment)
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
<ul class="nav navbar-nav navbar-right">
<li class="hidden">
<a href="#page-top"></a>
</li>
<li class="page-scroll">
<a href="#portfolio">Home</a>
</li>
<li class="page-scroll">
<a href="#about">About me</a>
</li>
<li class="page-scroll">
<a href="#media">Media</a>
</li>
</ul>
</div>