5 <meta http-equiv=
"content-type" content=
"text/html; charset=UTF-8">
6 <meta name=
"viewport" content=
"width=device-width, minimum-scale=1.0, initial-scale=1.0, user-scalable=yes">
7 <title> - jsFiddle demo by jmgoog
</title>
8 <link href='http://fonts.googleapis.com/css?family=Roboto:
300' rel='stylesheet' type='text/css'
>
10 <style type='text/css'
>
11 @
-webkit-keyframes clip-animation
{
13 -webkit-clip-path: polygon
(-200px 0px, 0px 0px, -200px 200px, -200px 200px, -200px 0px);
16 -webkit-clip-path: polygon
(-200px 0px, 400px 0px, 200px 200px, -200px 200px, -200px 0px);
20 @-webkit-keyframes slide-animation
33 font-family: 'Roboto Light' sans-serif
;
39 -webkit-clip-path: polygon
(0px 0px, 0px 0px, -40px 80px, 0px 80px, 0px 0px);
44 background-color: white
;
46 font-family: 'Roboto Light' sans-serif
;
51 -webkit-animation: clip-animation
0.5s;
52 -webkit-clip-path: polygon
(0px 0px, 200px 0px, 200px 200px, 0px 200px, 0px 0px);
61 -webkit-animation: slide-animation
1.0s;
68 <script type='text/javascript'
>//<![CDATA[
69 window
.onload=function(){
72 setInterval(function() {
73 document
.querySelector('.div2').classList
.toggle('hover');
74 document
.querySelector('.div3').classList
.toggle('hover');
83 <div class=
"div1">9°</div>
84 <div class=
"div2"><div class=
"div3">23°</div>