Css version of macbook dribbble

Developer
Size
2,919 Kb
Views
14,168

How do I make an css version of macbook dribbble?

Modeled after this dribbble - http://dribbble.com/shots/1206206-Computer-gif. What is a css version of macbook dribbble? How do you make a css version of macbook dribbble? This script and codes were developed by Zachary Olson on 10 November 2022, Thursday.

Css version of macbook dribbble Previews

Css version of macbook dribbble - Script Codes HTML Codes

<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Css version of macbook dribbble</title> <link rel="stylesheet" href="css/style.css">
</head>
<body> <div id="demowrap"> <div class="macbook"> <div class="macbook-lid"> <div class="macbook-screen"> <div class="macbook-content"> <ul class="macbook-apps"> <li class="macbook-app"></li> <li class="macbook-app"></li> <li class="macbook-app"></li> <li class="macbook-app"></li> <li class="macbook-app"></li> <li class="macbook-app"></li> <li class="macbook-app"></li> </ul> </div> </div> </div> <div class="macbook-base"></div> </div> <div id="info"> <p id="instructions">Hover to open</p> <a href="http://dribbble.com/shots/1206206-Computer-gif" id="inspiration">Inspired by Linn Fritz's Dribbble</a> </div>
</div>
</body>
</html>

Css version of macbook dribbble - Script Codes CSS Codes

.macbook { width: 300px; margin: 50px auto; -webkit-perspective: 750; -webkit-perspective-origin: 50% bottom; -webkit-transform-style: preserve-3d; -moz-perspective: 750px; -moz-perspective-origin: 50% bottom; -moz-transform-style: preserve-3d; perspective: 750; perspective-origin: 50% bottom; transform-style: preserve-3d;
}
.macbook-lid { width: 80%; margin: 0 auto; -webkit-transform-origin: 50% bottom; -webkit-transform-style: preserve-3d; -moz-transform-origin: 50% bottom; -moz-transform-style: preserve-3d; transform-origin: 50% bottom; transform-style: preserve-3d; -webkit-transition: all 1s; -moz-transition: all 1s; transition: all 1s;
}
.macbook-lid:before { display: block; content: ''; width: 92%; margin: 0 auto; padding: 2% 3% 0 3%; background-color: #D3D1D2; border-radius: 10px 10px 0 0; -webkit-transform-origin: 50% bottom; -webkit-transform: rotate3d(1, 0, 0, 90deg); -moz-transform-origin: 50% bottom; -moz-transform: rotate3d(1, 0, 0, 90deg); transform-origin: 50% bottom; transform: rotate3d(1, 0, 0, 90deg); -webkit-transition: all 1s; -moz-transition: all 1s; transition: all 1s;
}
.macbook-screen { position: relative; background-color: #353535; margin: 0 auto; padding: 3%; border-radius: 5px 5px 0 0; -webkit-transform-style: preserve-3d; -moz-transform-style: preserve-3d; transform-style: preserve-3d; -webkit-transition: all 1s; -moz-transition: all 1s; transition: all 1s;
}
.macbook-screen:before { display: block; content: ''; position: absolute; top: 2%; left: 49%; width: 1%; padding-top: 1%; background-color: #000;
}
.macbook-content { position: relative; overflow: hidden; background-color: #323C4D; box-shadow: inset 0px 0px 6px #222;
}
.macbook-content:before { display: block; content: ''; width: 1px; padding-top: 60%; float: left;
}
.macbook-content:after { display: block; content: ''; clear: both;
}
.macbook:not(:hover) .macbook-lid { -webkit-transform: rotate3d(-1, 0, 0, 91deg); -moz-transform: rotate3d(-1, 0, 0, 91deg); transform: rotate3d(-1, 0, 0, 91deg);
}
.macbook:not(:hover) .macbook-lid:before { width: 94%;
}
.macbook-base { width: 100%; overflow: hidden; background-color: #D3D1D2; border-radius: 2px 2px 10px 10px;
}
.macbook-base:before { display: block; content: ''; width: 30%; margin: 0 auto 1% auto; padding-top: 1.5%; background: #B0B0B0; border-radius: 0 0 10px 10px;
}
.macbook-base:after { display: block; content: ''; padding-top: 1%; background-color: #B3B3B3;
}
.macbook-apps, .macbook-app { list-style: none; margin: 0; padding: 0;
}
.macbook-apps { width: 60%; position: absolute; bottom: -20%; left: 50%; font-size: 0; -webkit-transform: translateX(-50%); -moz-transform: translateX(-50%); transform: translateX(-50%); -webkit-transition: all 1s; -moz-transition: all 0.1s ease 1s; transition: all 0.1s ease 1s;
}
.macbook-app { display: inline-block; width: 10%; margin-right: 5%; padding-top: 10%; background-color: green; border-radius: 20%; box-shadow: 2px 2px 0px 2px rgba(26, 32, 43, 0.5);
}
.macbook-apps .macbook-app:last-of-type { margin-right: 0;
}
.macbook:hover .macbook-apps { bottom: 5%; -webkit-transition: all 1s; -moz-transition: all 1s ease 0.5s; transition: all 1s ease 0.5s;
}
.macbook:hover .macbook-app { -webkit-animation: appbounce 0.5s ease-in-out 1.2s; -moz-animation: appbounce 0.5s ease-in-out 1.2s; animation: appbounce 0.5s ease-in-out 1.2s;
}
.macbook .macbook-app:nth-of-type(1) { background-color: #CA4549;
}
.macbook .macbook-app:nth-of-type(2) { -webkit-animation-delay: 1.3s; -moz-animation-delay: 1.3s; animation-delay: 1.3s; background-color: #6BAC92;
}
.macbook .macbook-app:nth-of-type(3) { -webkit-animation-delay: 1.4s; -moz-animation-delay: 1.4s; animation-delay: 1.4s; background-color: #D98F34;
}
.macbook .macbook-app:nth-of-type(4) { -webkit-animation-delay: 1.5s; -moz-animation-delay: 1.5s; animation-delay: 1.5s; background-color: #8B92AC;
}
.macbook .macbook-app:nth-of-type(5) { -webkit-animation-delay: 1.6s; -moz-animation-delay: 1.6s; animation-delay: 1.6s; background-color: #CA4549;
}
.macbook .macbook-app:nth-of-type(6) { -webkit-animation-delay: 1.7s; -moz-animation-delay: 1.7s; animation-delay: 1.7s; background-color: #6BAC92;
}
.macbook .macbook-app:nth-of-type(7) { -webkit-animation-delay: 1.8s; -moz-animation-delay: 1.8s; animation-delay: 1.8s; background-color: #D98F34;
}
@-webkit-keyframes appbounce { 0% { -webkit-transform: none; } 50% { -webkit-transform: scale(1.2) rotateZ(20deg) translateY(-3px); } 100% { -webkit-transform: none; }
}
@-moz-keyframes appbounce { 0% { -moz-transform: none; } 50% { -moz-transform: scale(1.2) rotateZ(20deg) translateY(-3px); } 100% { -moz-transform: none; }
}
@keyframes appbounce { 0% { transform: none; } 50% { transform: scale(1.2) rotateZ(20deg) translateY(-3px); } 100% { transform: none; }
}
@-webkit-keyframes arrowup { from { -webkit-transform: translate(0, 5px); } to { -webkit-transform: translate(0, -10px); }
}
@-moz-keyframes arrowup { from { -moz-transform: translate(0, 5px); } to { -moz-transform: translate(0, -10px); }
}
@keyframes arrowup { from { transform: translate(0, 5px); } to { transform: translate(0, -10px); }
}
body { background-color: #EDEBEE; font-family: sans-serif; font-size: 1.5em; font-weight: 100; -webkit-font-smoothing: antialiased;
}
body, a { color: #806973;
}
a { color: #777; -webkit-transition: all 1s; -moz-transition: all 0.5s; transition: all 0.5s;
}
a:hover { color: #68507C;
}
#demowrap { position: absolute; top: 50%; left: 50%; -moz-transform: translate(-50%, -50%); -webkit-transform: translate(-50%, -50%); transform: translate(-50%, -50%); /*height: 285px;*/
}
#info {/* position: absolute; bottom: 0.5em; left: 0;*/ text-align: center; width: 100%;
}
#instructions { font-size: 2em; margin-bottom: 0;
}
#instructions:before { display: block; content: '^\A ^'; line-height: 0.3em; text-align: center; white-space: pre-wrap; -webkit-animation: arrowup 1.5s alternate infinite linear; -moz-animation: arrowup 1.5s alternate infinite linear; animation: arrowup 1.5s alternate infinite linear;
}
Css version of macbook dribbble - Script Codes
Css version of macbook dribbble - Script Codes
Home Page Home
Developer Zachary Olson
Username zacharyolson
Uploaded November 10, 2022
Rating 4.5
Size 2,919 Kb
Views 14,168
Do you need developer help for Css version of macbook dribbble?

Find the perfect freelance services for your business! Fiverr's mission is to change how the world works together. Fiverr connects businesses with freelancers offering digital services in 500+ categories. Find Developer!

Zachary Olson (zacharyolson) Script Codes
Create amazing blog posts with AI!

Jasper is the AI Content Generator that helps you and your team break through creative blocks to create amazing, original content 10X faster. Discover all the ways the Jasper AI Content Platform can help streamline your creative workflows. Start For Free!