Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

basic transition animation prototyped

  • Loading branch information...
commit cf1fc67cdddf4978eb502ed94a410fd8caa809bb 1 parent 9102ed0
Conrad authored

Showing 1 changed file with 17 additions and 0 deletions. Show diff stats Hide diff stats

  1. +17 0 css/singlepage.css
17 css/singlepage.css
@@ -13,12 +13,29 @@
13 13
14 14 .pages {
15 15 position:relative;
  16 + font-size: 3em;
  17 + width: 950px;
  18 + border:1px solid #222;
16 19 }
17 20 .pages div {
18 21 position:absolute;
19 22 display:none;
  23 + width:100%;
  24 + text-align:center;
20 25 }
21 26
22 27 .pages div.active {
23 28 display:block;
  29 + -webkit-animation: reveal 0.09s;
  30 +}
  31 +
  32 +@-webkit-keyframes reveal {
  33 + from {
  34 + opacity: 0;
  35 + font-size:0.95em;
  36 + }
  37 + to {
  38 + opacity: 1;
  39 + font-size:1em;
  40 + }
24 41 }

0 comments on commit cf1fc67

Please sign in to comment.
Something went wrong with that request. Please try again.