Old School Mac - Pure CSS
How do I make an old school mac - pure css?
Just for fun. Found this desktop background here http://simpledesktops.com/browse/desktops/2011/sep/22/mac-and-back-to-basic/ . What is a old school mac - pure css? How do you make a old school mac - pure css? This script and codes were developed by Tyler Fry on 16 July 2022, Saturday.
Old School Mac - Pure CSS - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Old School Mac - Pure CSS</title> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/5.0.0/normalize.min.css"> <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! */ body { background: #a1997e;
}
.mac { position: fixed; top: 50%; left: 50%;
}
.mac_sreen { background: #3f3f41; border: 20px solid #c9c0a3; width: 180px; height: 130px; display: block; margin: -125px -100px; position: relative;
}
.mac_sreen:before { content: ''; position: absolute; bottom: -25px; left: 50%; width: 120px; height: 5px; background: #d8d1b7; margin-left: -60px;
}
.mac_sreen:after { content: ''; position: absolute; bottom: -90px; left: 50%; width: 180px; height: 65px; background: #f1ebdf; margin-left: -90px;
}
.mac_tower { width: 70px; height: 25px; background: #a19378; display: block; z-index: 2; position: absolute; bottom: -95px; left: 10px;
}
.mac_tower:before { content: ''; width: 40px; height: 3px; background: #000; position: absolute; left: -55px; top: 11px;
}
.mac_tower:after { content: ''; display: block; width: 30px; height: 10px; background: #c3b79d; border-radius: 50%; z-index: -1; position: absolute; left: -50px; top: 8px;
}
.mac_keyboard { width: 260px; height: 0; position: absolute; z-index: 4; left: 50%; bottom: -115px; margin-left: -130px; border-top: 5px dashed #d8d1b7; box-shadow: 0 4px 0 #c9c0a3, 0 8px 0 #fff, 0 12px 0 #c9c0a3, 0 14px 0 #c9c0a3, 0 16px 0 #c9c0a3;
}
.mac_shadow { display: block; width: 270px; height: 30px; background: rgba(135, 128, 104, 0.2); position: absolute; bottom: -155px; left: 50%; margin-left: -135px; z-index: -1; transform: perspective(200px) rotateX(45deg);
} </style> <script src="https://cdnjs.cloudflare.com/ajax/libs/prefixfree/1.0.7/prefixfree.min.js"></script>
</head>
<body> <div class="mac"> <i class="mac_sreen"></i> <i class="mac_tower"></i> <i class="mac_keyboard"></i> <i class="mac_shadow"></i>
</div>
</body>
</html>
Old School Mac - Pure CSS - Script Codes CSS Codes
body { background: #a1997e;
}
.mac { position: fixed; top: 50%; left: 50%;
}
.mac_sreen { background: #3f3f41; border: 20px solid #c9c0a3; width: 180px; height: 130px; display: block; margin: -125px -100px; position: relative;
}
.mac_sreen:before { content: ''; position: absolute; bottom: -25px; left: 50%; width: 120px; height: 5px; background: #d8d1b7; margin-left: -60px;
}
.mac_sreen:after { content: ''; position: absolute; bottom: -90px; left: 50%; width: 180px; height: 65px; background: #f1ebdf; margin-left: -90px;
}
.mac_tower { width: 70px; height: 25px; background: #a19378; display: block; z-index: 2; position: absolute; bottom: -95px; left: 10px;
}
.mac_tower:before { content: ''; width: 40px; height: 3px; background: #000; position: absolute; left: -55px; top: 11px;
}
.mac_tower:after { content: ''; display: block; width: 30px; height: 10px; background: #c3b79d; border-radius: 50%; z-index: -1; position: absolute; left: -50px; top: 8px;
}
.mac_keyboard { width: 260px; height: 0; position: absolute; z-index: 4; left: 50%; bottom: -115px; margin-left: -130px; border-top: 5px dashed #d8d1b7; box-shadow: 0 4px 0 #c9c0a3, 0 8px 0 #fff, 0 12px 0 #c9c0a3, 0 14px 0 #c9c0a3, 0 16px 0 #c9c0a3;
}
.mac_shadow { display: block; width: 270px; height: 30px; background: rgba(135, 128, 104, 0.2); position: absolute; bottom: -155px; left: 50%; margin-left: -135px; z-index: -1; transform: perspective(200px) rotateX(45deg);
}
Developer | Tyler Fry |
Username | frytyler |
Uploaded | July 16, 2022 |
Rating | 3.5 |
Size | 3,329 Kb |
Views | 50,600 |
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!
Name | Size |
To Do Task Widget | 8,229 Kb |
Twitter Profile Rebound | 4,286 Kb |
Flat Instagram Logo | 3,730 Kb |
Flat UI Kit - Dribbble Rebound | 7,038 Kb |
HTML5 Video Player UI | 7,794 Kb |
Pure CSS Space Shuttle | 5,510 Kb |
Email UI - Dribbble Rebound | 8,441 Kb |
Flat Icons CSS - Dribbble Remake | 8,259 Kb |
Ridiculously good-looking input fields | 2,382 Kb |
Check | 4,482 Kb |
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!
Name | Username | Size |
Highbrow Basic HTML Lesson 8 | Kimlarocca | 2,094 Kb |
JS Beispiel getElementsByClassName 3 | HSZG-Frontend-Kurs | 1,988 Kb |
Mobile Nav Menu | AliKlein | 4,745 Kb |
Underlined form fields | Mitchdot | 2,323 Kb |
A Pen by Michael Parenteau | Michaelparenteau | 2,133 Kb |
Swiftype Lower Third | Zumwalt | 4,796 Kb |
Material design buttons | Fischaela | 4,381 Kb |
Delete Hover | Chungman93 | 2,557 Kb |
A Pen by Ash | Littleginger | 2,386 Kb |
Flexbox playground | Enxaneta | 5,418 Kb |
Surf anonymously, prevent hackers from acquiring your IP address, send anonymous email, and encrypt your Internet connection. High speed, ultra secure, and easy to use. Instant setup. Hide Your IP Now!