Skip to content
This repository has been archived by the owner on Feb 6, 2024. It is now read-only.

Commit

Permalink
css transition -> JS animation
Browse files Browse the repository at this point in the history
  • Loading branch information
pakastin committed Sep 16, 2015
1 parent 4dab72f commit aa2b545
Show file tree
Hide file tree
Showing 17 changed files with 670 additions and 284 deletions.
10 changes: 6 additions & 4 deletions css/index.styl
Expand Up @@ -2,6 +2,8 @@

*
box-sizing: border-box
margin: 0
padding: 0

html, body
height: 100%
Expand All @@ -15,7 +17,7 @@ body
text-size-adjust: 100%

#container
position: absolute
position: fixed
top: calc(50% + 1.5rem)
left: 50%
transform: translate3d(-50%, -50%, 0)
Expand All @@ -33,10 +35,10 @@ body
background: none
border: 1px solid #fff
outline: none
margin: .25rem
padding: .5rem
margin: .1rem
padding: .4rem
font: inherit
font-size: .875rem
font-size: .75rem
line-height: 1
color: #fff
cursor: pointer
Expand Down

0 comments on commit aa2b545

Please sign in to comment.