diff options
| author | hallgren <hallgren@chalmers.se> | 2013-02-07 13:11:09 +0000 |
|---|---|---|
| committer | hallgren <hallgren@chalmers.se> | 2013-02-07 13:11:09 +0000 |
| commit | 88d20ca61238edb14e1151509484c60ef5d967ee (patch) | |
| tree | 5cc4ce12a977d97eae707dc0c9bb7a0f22e1d1f5 /css/style.css | |
| parent | f9a32dca3b97e1b73c67c825990977a4b9b26d89 (diff) | |
GF home page style update
Diffstat (limited to 'css/style.css')
| -rw-r--r-- | css/style.css | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/css/style.css b/css/style.css index 5137e8159..677233e34 100644 --- a/css/style.css +++ b/css/style.css @@ -32,3 +32,26 @@ th { background: #9df; } h1 img { float: right; border: 0; } h1 img.nofloat { float: none; } + +.grow { + animation-name: grow; + animation-duration: 2s; + animation-timing-function: ease-in-out; + + -webkit-animation-name: grow; + -webkit-animation-duration: 2s; + -webkit-animation-timing-function: ease-in-out; + +} + +@keyframes grow { + from,50% { opacity: 0; transform: scale(0.1,0.1); } + 80% { opacity: 1; transform: scale(1.1,1.1); } + to { transform: scale(1.0,1.0); } +} + +@-webkit-keyframes grow { + from,50% { opacity: 0; -webkit-transform: scale(0.1,0.1); } + 80% { opacity: 1; -webkit-transform: scale(1.1,1.1); } + to { -webkit-transform: scale(1.0,1.0); } +} |
