Css Html Hiding A Field From Screen's Right
I positioned a form to the right of a document showing only a part of it
Solution 2:
Usage of overflow does still allow the usage of arrow keys.. You can kill the usage of arrow keys like this:
$(document).keydown(function(event) {
switch(event.keyCode){
case37:
case39:
returnfalse;
break;
}
});
Solution 3:
Use the below code, the 100% + the default margin is causing the issue
body{
width: 100%;
height: 100%;
margin: 0;
padding: 0;
}
.right-form{
position:absolute;
rigth: -220px;
width: 250px
transition: width 0.5s ease 0s, right 0.5s ease 0s;
}
.right-form:hover{
right: 0px;
}
Post a Comment for "Css Html Hiding A Field From Screen's Right"