"mac"
Bootstrap 3.0.0 Snippet by evarevirus

<link href="//netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//netdna.bootstrapcdn.com/bootstrap/3.0.0/js/bootstrap.min.js"></script> <script src="//code.jquery.com/jquery-1.11.1.min.js"></script> <!------ Include the above in your HEAD tag ----------> <!DOCTYPE html><html class=''> <head><script src='//production-assets.codepen.io/assets/editor/live/console_runner-079c09a0e3b9ff743e39ee2d5637b9216b3545af0de366d4b9aad9dc87e26bfd.js'></script><script src='//production-assets.codepen.io/assets/editor/live/events_runner-73716630c22bbc8cff4bd0f07b135f00a0bdc5d14629260c3ec49e5606f98fdd.js'></script><script src='//production-assets.codepen.io/assets/editor/live/css_live_reload_init-2c0dc5167d60a5af3ee189d570b1835129687ea2a61bee3513dee3a50c115a77.js'></script><meta charset='UTF-8'><meta name="robots" content="noindex"><link rel="shortcut icon" type="image/x-icon" href="//production-assets.codepen.io/assets/favicon/favicon-8ea04875e70c4b0bb41da869e81236e54394d63638a1ef12fa558a4a835f1164.ico" /><link rel="mask-icon" type="" href="//production-assets.codepen.io/assets/favicon/logo-pin-f2d2b6d2c61838f7e76325261b7195c27224080bc099486ddd6dccb469b8e8e6.svg" color="#111" /><link rel="canonical" href="https://codepen.io/mjweaver01/pen/aOWKRd?depth=everything&limit=all&order=popularity&page=9&q=os&show_forks=false" /> <style class="cp-pen-styles">@import url(https://fonts.googleapis.com/css?family=Source+Sans+Pro:200,300,400); @-webkit-keyframes shake { 0%, 100% { -webkit-transform: translateX(0); } 20%, 60% { -webkit-transform: translateX(-10px); } 40%, 80% { -webkit-transform: translateX(10px); } } @-moz-keyframes shake { 0%, 100% { -moz-transform: translateX(0); } 20%, 60% { -moz-transform: translateX(-10px); } 40%, 80% { -moz-transform: translateX(10px); } } @keyframes shake { 0%, 100% { -webkit-transform: translateX(0); -moz-transform: translateX(0); -ms-transform: translateX(0); -o-transform: translateX(0); transform: translateX(0); } 20%, 60% { -webkit-transform: translateX(-10px); -moz-transform: translateX(-10px); -ms-transform: translateX(-10px); -o-transform: translateX(-10px); transform: translateX(-10px); } 40%, 80% { -webkit-transform: translateX(10px); -moz-transform: translateX(10px); -ms-transform: translateX(10px); -o-transform: translateX(10px); transform: translateX(10px); } } body { margin: 0; padding: 0; font-family: Source Sans Pro; -webkit-font-smoothing: subpixel-antialiased; background: url("http://wallarthd.com/wp-content/uploads/2014/08/Cool-Mac-OS-Purple-Computer-Wallpaper.jpg"); background-attachment: fixed; background-size: cover; background-position: top center; } .circle { width: 300px; height: 300px; border-radius: 50%; margin: 20px auto 0 auto; background: #f2f2f2; position: relative; } .circle .x { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -59%); color: transparent; background: transparent; font-size: 400px; font-weight: 300; background: url("https://pbs.twimg.com/profile_images/2253317510/image.jpg"); background-size: 100%; background-position: -2px 38px; -webkit-background-clip: text; -webkit-text-fill-color: transparent; } .circle.shake { -webkit-animation: shake 1.5s; -moz-animation: shake 1.5s; animation: shake 1.5s; } .circle:hover { cursor: pointer; } .osx { color: #f2f2f2; text-align: center; margin-top: 20px; font-size: 50px; text-shadow: 0px 5px 10px rgba(0, 0, 0, 0.3); font-weight: 200; } </style></head><body> <audio src="http://mjweaver01.com/cluster/data/uploads/No.mp3" preload="auto"></audio> <div class="circle"> <div class="x">x</div> </div> <div class="osx"> <strong>OS X</strong> Consuela </div> <script src='//production-assets.codepen.io/assets/common/stopExecutionOnTimeout-b2a7b3fe212eaa732349046d8416e00a9dec26eb7fd347590fbced3ab38af52e.js'></script><script src='//cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js'></script> <script >var no = $("audio")[0]; var logo = $(".circle"); logo.mouseenter(function() { no.play(); logo.addClass("shake"); no.addEventListener("ended", function() { logo.removeClass("shake"); }); }); //# sourceURL=pen.js </script> </body></html>

Related: See More


Questions / Comments: