Created
February 25, 2012 21:39
-
-
Save alexmwalker/1910981 to your computer and use it in GitHub Desktop.
Two Bees or not Two Bees?
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * Two Bees or not Two Bees? | |
| */ | |
| body{ | |
| background: #000; | |
| min-height:100%; | |
| text-align:center; | |
| font-size:24px; | |
| } | |
| a:link {color:#f0f; | |
| text-decoration:none; | |
| } | |
| a:hover {color:#f9f; | |
| text-decoration:none; | |
| } | |
| a:visited {color:#00f; | |
| text-decoration:none; | |
| background:#f00 | |
| } | |
| a:visited #insertcoin p{color:#ff0; | |
| text-decoration:none; | |
| background:#f00; | |
| border:1px red dotted!important; | |
| } | |
| #insertcoin { | |
| width:30%; | |
| height:200px; | |
| margin:30px auto; | |
| border:5px dashed #fff; | |
| position:relative | |
| } | |
| #flyholder{ | |
| outline:1px red dashed; | |
| } | |
| #fly:after, #fly2:after, #fly:before, #fly2:before{ | |
| content:"࿉"; | |
| position:absolute; | |
| color: #aaa; | |
| font-size:35px; | |
| left:0px;top:0px; | |
| padding-bottom:40px; | |
| transform: rotate(-145deg); | |
| } | |
| #fly:before, #fly2:before{ | |
| content:"ದ"; | |
| position:absolute; | |
| color:orange; | |
| background-color:#fff; | |
| border-radius:50px; | |
| width:5px;height:5px; | |
| left:25px; | |
| font-size:45px; | |
| top:15px; | |
| transform: rotate(115deg); | |
| } | |
| #fly, #fly2{ | |
| color:brown; | |
| background:orange; | |
| background-size:100% 100%; | |
| position:absolute; | |
| width:12px; | |
| height:42px; | |
| border-radius:20px; | |
| animation: hz 3.1s infinite ease; | |
| } | |
| #vertical, #vertical2 { | |
| position:absolute; | |
| animation: vt 3.7s infinite ease-in-out; | |
| } | |
| #bumper { | |
| height:200% | |
| } | |
| #fly2{ | |
| animation: hz 4.3s infinite ease; | |
| } | |
| #vertical2 { | |
| animation: vt 4.7s infinite ease-in-out; | |
| } | |
| #coin { | |
| text-align:center; | |
| } | |
| @keyframes hz { /* vertical movement */ | |
| 0% {left:0;} | |
| 20% {left:380px;} | |
| 40% {left:300px;} | |
| 60% {left:240px;} | |
| 80% {left:-40px;} | |
| 100% {left:0;} | |
| } | |
| @keyframes vt { /* vertical movement */ | |
| 0% {top:0;} | |
| 20% {top:15px;} | |
| 40% {top:-20px;} | |
| 60% {top:190px;} | |
| 80% {top:120px;} | |
| 100% {top:0;} | |
| } | |
| a[href^="http"] { color: #1f6053; } | |
| a[href$="start"] { color: red; } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!-- content to be placed inside <body>…</body> --> | |
| <input type="checkbox" id="a11"> | |
| <a id="coin" href="#star"> | |
| <div id="insertcoin"><div id="bumper"></div> | |
| <div id="vertical"> | |
| <div id="fly"></div> | |
| </div> | |
| <div id="vertical2"> | |
| <div id="fly2"></div> | |
| </div> | |
| <p>hi</p> | |
| </div> | |
| <label for="a11">Start</label> | |
| <p>Insert Coin</p></input> | |
| </a> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| {"view":"split","prefixfree":"1","page":"css"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment