aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/public
diff options
context:
space:
mode:
authorErling Aaby <spa440w@gmail.com>2013-04-23 11:14:37 +0200
committerErling Aaby <spa440w@gmail.com>2013-04-23 11:14:37 +0200
commit325f5c6fa2bee566006688f2ec6ce17c9f205391 (patch)
tree4b64f9fc1e6e6dc160c6ebb31ab7691273348ff0 /public
parentAdded images for showcase animation (diff)
downloadDivid-325f5c6fa2bee566006688f2ec6ce17c9f205391.tar.gz
Added devanim.less
Diffstat (limited to 'public')
-rw-r--r--public/css/devanim.less332
1 files changed, 332 insertions, 0 deletions
diff --git a/public/css/devanim.less b/public/css/devanim.less
new file mode 100644
index 0000000..ea7f23a
--- /dev/null
+++ b/public/css/devanim.less
@@ -0,0 +1,332 @@
+
+.animation {
+ -webkit-box-sizing: border-box;
+ -moz-box-sizing: border-box;
+ -o-box-sizing: border-box;
+ box-sizing: border-box;
+}
+
+.screen {
+ position: relative;
+ border: solid 2px black;
+ margin: 0 auto;
+ margin-top: 100px;
+ background: white;
+ -webkit-animation: devices 9s ease 0s infinite;
+ -moz-animation: devices 9s ease 0s infinite;
+ -o-animation: devices 9s ease 0s infinite;
+ animation: devices 9s ease 0s infinite;
+}
+
+@-webkit-keyframes devices {
+ 0% {
+ top: 0;
+ width: 600px;
+ height: 337px;
+ border-width: 10px;
+ border-radius: 2px;
+ border-bottom-width: 15px;
+ background-image: url('/img/desktop.png');
+ /*background-repeat: no-repeat;*/
+ }
+
+ 29% {
+ top: 0;
+ width: 600px;
+ height: 337px;
+ border-width: 10px;
+ border-radius: 2px;
+ border-bottom-width: 15px;
+ background-image: url('/img/desktop.png')
+ /*background-repeat: no-repeat;*/
+ }
+
+ 33% {
+ top: 68px;
+ width: 280px;
+ height: 210px;
+ border-radius: 5px;
+ border-width: 16px;
+ background-image: url('/img/pad.png')
+ /*background-repeat: no-repeat;*/
+ }
+
+ 60% {
+ top: 68px;
+ width: 280px;
+ height: 210px;
+ border-radius: 5px;
+ border-width: 16px;
+ background-image: url('/img/pad.png')
+ /*background-repeat: no-repeat;*/
+ }
+
+ 66% {
+ top: 100px;
+ width: 100px;
+ height: 190px;
+ border-width: 6px;
+ border-top-width: 15px;
+ border-bottom-width: 20px;
+ border-radius: 5px;
+ background-image: url('/img/mobil.png')
+ /*background-repeat: no-repeat;*/
+ }
+
+ 94% {
+ top: 100px;
+ width: 100px;
+ height: 190px;
+ border-width: 6px;
+ border-top-width: 15px;
+ border-bottom-width: 20px;
+ border-radius: 5px;
+ background-image: url('/img/mobil.png')
+ /*background-repeat: no-repeat;*/
+ }
+
+ 100% {
+ top: 0;
+ width: 600px;
+ height: 337px;
+ border-width: 10px;
+ border-radius: 2px;
+ border-bottom-width: 15px;
+ background-image: url('/img/desktop.png');
+ /*background-repeat: no-repeat;*/
+ }
+}
+moz-webkit-keyframes devices {
+ 0% {
+ top: 0;
+ width: 600px;
+ height: 337px;
+ border-width: 10px;
+ border-radius: 2px;
+ border-bottom-width: 15px;
+ background-image: url('/img/desktop.png');
+ /*background-repeat: no-repeat;*/
+ }
+
+ 29% {
+ top: 0;
+ width: 600px;
+ height: 337px;
+ border-width: 10px;
+ border-radius: 2px;
+ border-bottom-width: 15px;
+ background-image: url('/img/desktop.png')
+ /*background-repeat: no-repeat;*/
+ }
+
+ 33% {
+ top: 68px;
+ width: 280px;
+ height: 210px;
+ border-radius: 5px;
+ border-width: 16px;
+ background-image: url('/img/pad.png')
+ /*background-repeat: no-repeat;*/
+ }
+
+ 60% {
+ top: 68px;
+ width: 280px;
+ height: 210px;
+ border-radius: 5px;
+ border-width: 16px;
+ background-image: url('/img/pad.png')
+ /*background-repeat: no-repeat;*/
+ }
+
+ 66% {
+ top: 100px;
+ width: 100px;
+ height: 190px;
+ border-width: 6px;
+ border-top-width: 15px;
+ border-bottom-width: 20px;
+ border-radius: 5px;
+ background-image: url('/img/mobil.png')
+ /*background-repeat: no-repeat;*/
+ }
+
+ 94% {
+ top: 100px;
+ width: 100px;
+ height: 190px;
+ border-width: 6px;
+ border-top-width: 15px;
+ border-bottom-width: 20px;
+ border-radius: 5px;
+ background-image: url('/img/mobil.png')
+ /*background-repeat: no-repeat;*/
+ }
+
+ 100% {
+ top: 0;
+ width: 600px;
+ height: 337px;
+ border-width: 10px;
+ border-radius: 2px;
+ border-bottom-width: 15px;
+ background-image: url('/img/desktop.png');
+ /*background-repeat: no-repeat;*/
+ }
+}
+@-o-keyframes devices {
+ 0% {
+ top: 0;
+ width: 600px;
+ height: 337px;
+ border-width: 10px;
+ border-radius: 2px;
+ border-bottom-width: 15px;
+ background-image: url('/img/desktop.png');
+ /*background-repeat: no-repeat;*/
+ }
+
+ 29% {
+ top: 0;
+ width: 600px;
+ height: 337px;
+ border-width: 10px;
+ border-radius: 2px;
+ border-bottom-width: 15px;
+ background-image: url('/img/desktop.png')
+ /*background-repeat: no-repeat;*/
+ }
+
+ 33% {
+ top: 68px;
+ width: 280px;
+ height: 210px;
+ border-radius: 5px;
+ border-width: 16px;
+ background-image: url('/img/pad.png')
+ /*background-repeat: no-repeat;*/
+ }
+
+ 60% {
+ top: 68px;
+ width: 280px;
+ height: 210px;
+ border-radius: 5px;
+ border-width: 16px;
+ background-image: url('/img/pad.png')
+ /*background-repeat: no-repeat;*/
+ }
+
+ 66% {
+ top: 100px;
+ width: 100px;
+ height: 190px;
+ border-width: 6px;
+ border-top-width: 15px;
+ border-bottom-width: 20px;
+ border-radius: 5px;
+ background-image: url('/img/mobil.png')
+ /*background-repeat: no-repeat;*/
+ }
+
+ 94% {
+ top: 100px;
+ width: 100px;
+ height: 190px;
+ border-width: 6px;
+ border-top-width: 15px;
+ border-bottom-width: 20px;
+ border-radius: 5px;
+ background-image: url('/img/mobil.png')
+ /*background-repeat: no-repeat;*/
+ }
+
+ 100% {
+ top: 0;
+ width: 600px;
+ height: 337px;
+ border-width: 10px;
+ border-radius: 2px;
+ border-bottom-width: 15px;
+ background-image: url('/img/desktop.png');
+ /*background-repeat: no-repeat;*/
+ }
+}
+@keyframes devices {
+ 0% {
+ top: 0;
+ width: 600px;
+ height: 337px;
+ border-width: 10px;
+ border-radius: 2px;
+ border-bottom-width: 15px;
+ background-image: url('/img/desktop.png');
+ /*background-repeat: no-repeat;*/
+ }
+
+ 29% {
+ top: 0;
+ width: 600px;
+ height: 337px;
+ border-width: 10px;
+ border-radius: 2px;
+ border-bottom-width: 15px;
+ background-image: url('/img/desktop.png')
+ /*background-repeat: no-repeat;*/
+ }
+
+ 33% {
+ top: 68px;
+ width: 280px;
+ height: 210px;
+ border-radius: 5px;
+ border-width: 16px;
+ background-image: url('/img/pad.png')
+ /*background-repeat: no-repeat;*/
+ }
+
+ 60% {
+ top: 68px;
+ width: 280px;
+ height: 210px;
+ border-radius: 5px;
+ border-width: 16px;
+ background-image: url('/img/pad.png')
+ /*background-repeat: no-repeat;*/
+ }
+
+ 66% {
+ top: 100px;
+ width: 100px;
+ height: 190px;
+ border-width: 6px;
+ border-top-width: 15px;
+ border-bottom-width: 20px;
+ border-radius: 5px;
+ background-image: url('/img/mobil.png')
+ /*background-repeat: no-repeat;*/
+ }
+
+ 94% {
+ top: 100px;
+ width: 100px;
+ height: 190px;
+ border-width: 6px;
+ border-top-width: 7px;
+ border-bottom-width: 10px;
+ border-radius: 2px;
+ background-image: url('/img/mobil.png')
+ background-repeat: no-repeat;
+ }
+
+ 100% {
+ top: 0;
+ width: 600px;
+ height: 337px;
+ border-width: 10px;
+ border-radius: 2px;
+ border-bottom-width: 15px;
+ background-image: url('/img/desktop.png')
+ /*background-repeat: no-repeat;*/
+ }
+} \ No newline at end of file