MacBook Pro

Size
4,125 Kb
Views
12,144

How do I make an macbook pro?

MacBook Pro Clone with css.. What is a macbook pro? How do you make a macbook pro? This script and codes were developed by Renato Ribeiro on 16 October 2022, Sunday.

MacBook Pro Previews

MacBook Pro - Script Codes HTML Codes

<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>MacBook Pro</title> <style> /* NOTE: The styles were added inline because Prefixfree needs access to your styles and they must be inlined if they are on local disk! */ @import url(https://fonts.googleapis.com/css?family=Open+Sans:400,300);
html, body { min-width: 100%; height: 100%;
}
body { font-family: "Open Sans", arial, sans-serif; background: #2980b9;
}
*, *:after, *:before { box-sizing: border-box;
}
.mac { height: 340px; width: 230px; position: relative; left: 50%; top: 50%; transform: translate(-50%, -50%); perspective: 800px;
}
.mac .top { width: 230px; height: 170px; background: #333; border-radius: 10px; padding: 15px; padding-top: 20px; position: relative;
}
.mac .top .cam { position: absolute; left: 50%; top: 7px; width: 6px; height: 6px; background: #777; border-radius: 50%; transform: translateX(-50%);
}
.mac .top .screen { width: 100%; height: 100%; position: relative; background: #eee;
}
.mac .top .screen .text { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); margin: 0; color: #ccc; font-weight: 300; font-size: 14px; text-decoration: none;
}
.mac .bottom { width: 230px; height: 170px; border-radius: 10px; transform-style: preserve-3d; transform: rotatex(70deg); transform-origin: 100% 0; background: #ccc; z-index: 1;
}
.mac .bottom .hinge { width: 180px; height: 15px; margin: 0 auto; background: #666; border-bottom-left-radius: 5px; border-bottom-right-radius: 5px;
}
.mac .bottom .buttons { width: 200px; height: 80px; padding: 5px; margin: 10px auto; box-shadow: inset 0 -3px 7px rgba(0, 0, 0, 0.15); border-radius: 5px;
}
.mac .bottom .buttons > div { background: #333; border-radius: 3px; height: 14px; width: 21px; margin: 5px; margin-right: 0; margin-bottom: 0; float: left;
}
.mac .bottom .buttons > div.f1 { height: 8px;
}
.mac .bottom .buttons > div.spacebar { width: 73px;
}
.mac .bottom .trackpad { width: 60px; height: 40px; background: #aaa; margin: 0 auto; border-radius: 5px;
}
.mac *[class*='long'] { display: block; content: ''; width: 230px; height: 170px; border-radius: 10px; transform-style: preserve-3d; transform: rotatex(70deg); transform-origin: 100% 0; background: #999; z-index: -2; position: absolute;
}
.mac .long-1 { bottom: -1px;
}
.mac .long-2 { bottom: -2px;
}
.mac .long-3 { bottom: -3px;
}
.mac .long-4 { bottom: -4px;
}
.mac .long-5 { bottom: -5px;
}
.mac .long-6 { bottom: -6px;
}
.mac .long-7 { bottom: -7px;
}
.mac .long-8 { bottom: -8px;
} </style> <script src="https://cdnjs.cloudflare.com/ajax/libs/prefixfree/1.0.7/prefixfree.min.js"></script>
</head>
<body> <div class="mac"> <div class="top"> <div class="cam"></div> <div class="screen"> <a href="http://rena.to/" target="_blank" class="text"> rena.to </a> </div> </div> <div class="bottom"> <div class="hinge"></div> <div class="buttons"> <div class="f1"></div> <div class="f1"></div> <div class="f1"></div> <div class="f1"></div> <div class="f1"></div> <div class="f1"></div> <div class="f1"></div> <div></div> <div></div> <div></div> <div></div> <div></div> <div></div> <div></div> <div></div> <div></div> <div></div> <div></div> <div></div> <div></div> <div></div> <div></div> <div></div> <div class="spacebar"></div> <div></div> <div></div> </div> <div class="trackpad"></div> </div> <div class="long-1"></div> <div class="long-2"></div> <div class="long-3"></div> <div class="long-4"></div> <div class="long-5"></div> <div class="long-6"></div> <div class="long-7"></div> <div class="long-8"></div>
</div> <script src='http://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js'></script>
</body>
</html>

MacBook Pro - Script Codes CSS Codes

@import url(https://fonts.googleapis.com/css?family=Open+Sans:400,300);
html, body { min-width: 100%; height: 100%;
}
body { font-family: "Open Sans", arial, sans-serif; background: #2980b9;
}
*, *:after, *:before { box-sizing: border-box;
}
.mac { height: 340px; width: 230px; position: relative; left: 50%; top: 50%; transform: translate(-50%, -50%); perspective: 800px;
}
.mac .top { width: 230px; height: 170px; background: #333; border-radius: 10px; padding: 15px; padding-top: 20px; position: relative;
}
.mac .top .cam { position: absolute; left: 50%; top: 7px; width: 6px; height: 6px; background: #777; border-radius: 50%; transform: translateX(-50%);
}
.mac .top .screen { width: 100%; height: 100%; position: relative; background: #eee;
}
.mac .top .screen .text { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); margin: 0; color: #ccc; font-weight: 300; font-size: 14px; text-decoration: none;
}
.mac .bottom { width: 230px; height: 170px; border-radius: 10px; transform-style: preserve-3d; transform: rotatex(70deg); transform-origin: 100% 0; background: #ccc; z-index: 1;
}
.mac .bottom .hinge { width: 180px; height: 15px; margin: 0 auto; background: #666; border-bottom-left-radius: 5px; border-bottom-right-radius: 5px;
}
.mac .bottom .buttons { width: 200px; height: 80px; padding: 5px; margin: 10px auto; box-shadow: inset 0 -3px 7px rgba(0, 0, 0, 0.15); border-radius: 5px;
}
.mac .bottom .buttons > div { background: #333; border-radius: 3px; height: 14px; width: 21px; margin: 5px; margin-right: 0; margin-bottom: 0; float: left;
}
.mac .bottom .buttons > div.f1 { height: 8px;
}
.mac .bottom .buttons > div.spacebar { width: 73px;
}
.mac .bottom .trackpad { width: 60px; height: 40px; background: #aaa; margin: 0 auto; border-radius: 5px;
}
.mac *[class*='long'] { display: block; content: ''; width: 230px; height: 170px; border-radius: 10px; transform-style: preserve-3d; transform: rotatex(70deg); transform-origin: 100% 0; background: #999; z-index: -2; position: absolute;
}
.mac .long-1 { bottom: -1px;
}
.mac .long-2 { bottom: -2px;
}
.mac .long-3 { bottom: -3px;
}
.mac .long-4 { bottom: -4px;
}
.mac .long-5 { bottom: -5px;
}
.mac .long-6 { bottom: -6px;
}
.mac .long-7 { bottom: -7px;
}
.mac .long-8 { bottom: -8px;
}
MacBook Pro - Script Codes
MacBook Pro - Script Codes
Home Page Home
Developer Renato Ribeiro
Username renatorib
Uploaded October 16, 2022
Rating 3
Size 4,125 Kb
Views 12,144
Do you need developer help for MacBook Pro?

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!

Renato Ribeiro (renatorib) Script Codes
Create amazing video scripts 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!