Toggle navigation
Bootsnipp
Bootstrap
For
CSS Frameworks
Bootstrap
Foundation
Semantic UI
Materialize
Pure
Bulma
References
CSS Reference
Tools
Community
Page Builder
Form Builder
Button Builder
Icon Search
Dan's Tools
Diff / Merge
Color Picker
Keyword Tool
Web Fonts
.htaccess Generator
Favicon Generator
Site Speed Test
Snippets
Featured
Tags
By Bootstrap Version
4.1.1
4.0.0
3.3.0
3.2.0
3.1.0
3.0.3
3.0.1
3.0.0
2.3.2
Register
Login
"mac window"
Bootstrap 3.0.0 Snippet by
evarevirus
3.0.0
Preview
HTML
View Full Screen
Fork
Fork this
1.2K
 
0 Fav
Post to Facebook
Tweet this
<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/vcmg/pen/MwjXvJ?limit=all&page=11&q=mac" /> <style class="cp-pen-styles">body { background-color: #94DACD; } #screen { margin-top: 80px; margin-left: auto; margin-right: auto; border-radius: 6px; height: 400px; width: 600px; background-color: #ffffff; } #menubar { height: 10%; width: 100%; background-color: #2A373A; border-top-left-radius: 6px; border-top-right-radius: 6px; } .mac-btn { position: absolute; height: 8px; width: 8px; border-radius: 50%; margin-top: 15.5px; } #mac-btn-one { background-color: #FC6767; margin-left: 15.5px; } #mac-btn-two { background-color: #FDD973; margin-left: 31px; } #mac-btn-three { background-color: #B3E07A; margin-left: 47px; } #filler { margin-left: 120px; } #profiler { position: absolute; height: 125px; width: 100px; background-color: #E7F5FF; margin-top: 50px; } #intro { position: absolute; margin-top: 115px; margin-left: 140px; } .filler-one { height: 10px; width: 200px; background-color: #E7F5FF; margin-top: 10px; } #main { position: absolute; margin-top: 195px; } .filler-two { height: 10px; width: 340px; background-color: #E7F5FF; margin-top: 15px; } .notification { height: 8%; width: 20%; background-color: #C1F7EE; margin-top: 5%; margin-left: 76%; transform-origin: right; -webkit-animation: notify 3s ease-in-out infinite; animation: notify 3s ease-in-out infinite; } @-webkit-keyframes notify { 0% {transform: scaleX(0);} 10% {transform: scaleX(1);} 13% {transform: scale(1.1);} 16% {transform: scale(1);} 55% {transform: scaleX(1); border-radius: 0%;} 65% {transform: scaleX(0.25); border-radius: 50%;} 95% {transform: scaleX(0.25); border-radius: 50%;} 100% {transform: scaleX(0);} } @keyframes notify { 0% {transform: scaleX(0);} 10% {transform: scaleX(1);} 13% {transform: scale(1.1);} 16% {transform: scale(1);} 55% {transform: scaleX(1); border-radius: 0%;} 65% {transform: scaleX(0.25); border-radius: 50%;} 95% {transform: scaleX(0.25); border-radius: 50%;} 100% {transform: scaleX(0);} } .identifier { position: absolute; height: 20px; width: 20px; border-radius: 50%; background-color: #94DACD; margin-top: 5.5px; margin-left: 7.5px; -webkit-animation: exit 3s ease-in-out infinite; animation: exit 3s ease-in-out infinite; } .text { position: absolute; height: 6px; width: 70px; background-color: #94DACD; margin-top: 12.25px; margin-left: 40px; -webkit-animation: exit 3s ease-in-out infinite; animation: exit 3s ease-in-out infinite; } @-webkit-keyframes exit { 0% {opacity: 1;} 55% {opacity: 1;} 65% {opacity: 0;} 100% {opacity: 0;} } @keyframes exit { 0% {opacity: 1;} 55% {opacity: 1;} 65% {opacity: 0;} 100% {opacity: 0;} } .number { position: absolute; font-family: 'Open Sans', sans-serif; font-size: 14px; color: #94DACD; margin-top: -40px; margin-left: 557px; -webkit-animation: enter 3s ease-in-out infinite; animation: enter 3s ease-in-out infinite; } @-webkit-keyframes enter { 0% {opacity: 0;} 55% {opacity: 0;} 65% {opacity: 1; transform: scaleX(1);} 95% {opacity: 1; transform: scaleX(1);} 100% {opacity: 0; transform: scaleX(1);} } @keyframes enter { 0% {opacity: 0;} 55% {opacity: 0;} 65% {opacity: 1; transform: scaleX(1);} 95% {opacity: 1; transform: scaleX(1);} 100% {opacity: 0; transform: scaleX(1);} } #credit { position: absolute; font-family: sans-serif; font-size: 12px; color: #ffffff; margin-top: 70px; left: 20px; } a, a:visited { text-decoration: none; color: #ffffff; } a:focus, a:hover { color: #45B39F; }</style></head><body> <div id="screen"> <div id="menubar"> <div class="mac-btn" id="mac-btn-one"></div> <div class="mac-btn" id="mac-btn-two"></div> <div class="mac-btn" id="mac-btn-three"></div> </div> <div id="filler"> <div id="profiler"></div> <div id="intro"> <div class="filler-one"></div> <div class="filler-one"></div> <div class="filler-one"></div> </div> <div id="main"> <div class="filler-two"></div> <div class="filler-two"></div> <div class="filler-two"></div> <div class="filler-two"></div> <div class="filler-two"></div> </div> </div> <div class="notification"> <div class="content"> <div class="identifier"></div> <div class="text"></div> </div> </div> <div class="number"><p>1</p></div> </div> <div id="credit"> Web Notifcation Animation<br> by <a href="https://twitter.com/vcmg" target="_blank">@vcmg</a> </div> </div> </body></html>
Related:
See More
Free Template
Now UI Dashboard React
175.5K
156
3.1.0 User Profile in Modal window
Questions / Comments:
Post
Posting Guidelines
Formatting
- Now
×
Close
Donate
BTC: 12JxYMYi6Vt3mx3hcmP3B2oyFiCSF3FhYT
ETH: 0xCD715b2E3549c54A40e6ecAaFeB82138148a6c76