better off-screen positioning for mobile browsers

This commit is contained in:
Vadim Makeev 2011-07-17 14:11:37 +04:00
parent d8478e00b6
commit b8ab4711c2
1 changed files with 4 additions and 2 deletions

View File

@ -299,10 +299,12 @@ BODY {
} }
.full .slide { .full .slide {
position:absolute; position:absolute;
margin-left:200%; top:-100%;
left:-100%;
} }
.full .slide:target { .full .slide:target {
margin-left:0; top:0;
left:0;
} }
.full .slide:after { .full .slide:after {
position:absolute; position:absolute;