Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

basic transition animation prototyped

  • Loading branch information...
commit cf1fc67cdddf4978eb502ed94a410fd8caa809bb 1 parent 9102ed0
@cpdean authored
Showing with 17 additions and 0 deletions.
  1. +17 −0 css/singlepage.css
View
17 css/singlepage.css
@@ -13,12 +13,29 @@
.pages {
position:relative;
+ font-size: 3em;
+ width: 950px;
+ border:1px solid #222;
}
.pages div {
position:absolute;
display:none;
+ width:100%;
+ text-align:center;
}
.pages div.active {
display:block;
+ -webkit-animation: reveal 0.09s;
+}
+
+@-webkit-keyframes reveal {
+ from {
+ opacity: 0;
+ font-size:0.95em;
+ }
+ to {
+ opacity: 1;
+ font-size:1em;
+ }
}
Please sign in to comment.
Something went wrong with that request. Please try again.