Update template.css

Webkit support and retain styles after animation completes.
main
sigonasr2, Sig, Sigo 3 years ago committed by GitHub
parent 9ea30bac11
commit 81ba925ec5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 29
      template.css

@ -3,8 +3,15 @@
position:relative; position:relative;
opacity:1; opacity:1;
font-size:0px; font-size:0px;
overflow:auto;
-webkit-animation-duration:15s;
-webkit-animation-name:slidein;
-webkit-animation-iteration-count:1;
-webkit-animation-fill-mode:forwards;
animation-duration:15s; animation-duration:15s;
animation-name:slidein; animation-name:slidein;
animation-iteration-count:1;
animation-fill-mode:forwards;
} }
@keyframes slidein{ @keyframes slidein{
@ -18,10 +25,32 @@
75%{ 75%{
opacity:1; opacity:1;
font-size:16px; font-size:16px;
min-height:auto;
} }
100%{ 100%{
opacity:0; opacity:0;
font-size:0px; font-size:0px;
min-height:0px;
}
}
@-webkit-keyframes slidein{
0%{
left:800px;
font-size:16px;
}
5%{
left:0px;
}
75%{
opacity:1;
font-size:16px;
min-height:auto;
}
100%{
opacity:0;
font-size:0px;
min-height:0px;
} }
} }

Loading…
Cancel
Save