I am trying to create a slide-in effect on a div from left to right on my webpage, but it seems to be sliding in from right to left instead. I'm unsure of what the issue might be, can someone take a look and help me figure this out?
$(document).ready(function() {
$("#wrapper").animate({
right: '100%'
}, 'slow');
});
#wrapper {
position: fixed;
z-index: 101;
top: 0;
color: #fff;
font-weight: bold;
font-size: 10px;
height: 50px;
width: 100%;
min-width: 50px;
background: red;
}
<div id="wrapper">
Content goes here..
</div>