CSS Shop
How do I make an css shop?
Based on a illustration by Scott Tusk on dribbble. Watch me speed code this here. What is a css shop? How do you make a css shop? This script and codes were developed by Sasha on 12 June 2022, Sunday.
CSS Shop - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>CSS Shop</title> <link rel="stylesheet" href="css/style.css">
</head>
<body> <div class="container"> <div class="shop"> <div class="light"></div> <div class="top-sill"></div> <div class="curtain"></div> <div class="window"> <div class="shine"></div> </div> <div class="door"> <div class="shine"></div> </div> <div class="bottom-sill"></div> </div> <div class="line"></div> <div class="text">Watch me speed code this on <a href="https://www.youtube.com/watch?v=wPJrnED45RM" target="_blank">Youtube</a></div>
</div> <script src="js/index.js"></script>
</body>
</html>
CSS Shop - Script Codes CSS Codes
.container,
.shop,
.curtain,
.window,
.door,
.bottom-sill,
.top-sill,
.shine,
.light,
.line,
.text { position: absolute;
}
body { background: #EDEAD0;
}
.container { margin: auto; top: 0; bottom: 0; left: 0; right: 0; width: 400px; height: 200px; transform: scale(0.7);
}
.shop { width: 400px; height: 200px; background: #EDDEA4; border: 5px solid #424B54;
}
.light { width: 30px; height: 30px; border-radius: 100%; background: #FFCF56; left: -60px; top: 25px; border: 5px solid #424B54;
}
.light:before, .light:after { position: absolute; content: '';
}
.light:before { top: 34px; left: 13px; width: 5px; height: 30px; background-color: #424B54; border-radius: 100px;
}
.light:after { top: 60px; left: 13px; width: 38px; height: 5px; background-color: #424B54; border-radius: 100px;
}
.top-sill { top: -5px; left: -20px; width: 430px; height: 15px; background: #FFF; border: 5px solid #424B54;
}
.curtain { z-index: 20; top: 30px; left: 50px; width: 300px; height: 80px; background: repeating-linear-gradient(to right, #FFF, #FFF 20px, #F77AC0 20px, #F77AC0 40px); transform: rotateX(40deg); border: 5px solid #424B54;
}
.curtain:before, .curtain:after { position: absolute; content: '';
}
.curtain:before { top: 80px; left: -5px; width: 300px; height: 20px; background: repeating-linear-gradient(to right, #FFF, #FFF 20px, #F77AC0 20px, #F77AC0 40px); border: 5px solid #424B54;
}
.window { z-index: 10; top: 120px; left: 60px; width: 120px; height: 30px; background: #ADE1E5; border: 5px solid #424B54;
}
.window:before, .window:after { position: absolute; content: '';
}
.window:before { top: 30px; left: -25px; width: 160px; height: 10px; background: #FFF; border: 5px solid #424B54;
}
.window .shine { top: -17px; left: 20px; opacity: 0.5; border-bottom: 47px solid #FFF; border-left: 100px solid transparent; border-right: 1px solid transparent;
}
.door { top: 65px; left: 250px; width: 70px; height: 150px; background: #FFF; border: 5px solid #424B54; border-bottom: none;
}
.door:before, .door:after { position: absolute; content: '';
}
.door:before { width: 40px; height: 100px; background: #ADE1E5; top: 30px; left: 10px; border: 5px solid #424B54;
}
.door .shine { top: 87px; left: 15px; opacity: 0.5; border-bottom: 47px solid #FFF; border-left: 38px solid transparent; border-right: 3px solid transparent;
}
.bottom-sill { top: 200px; left: -25px; width: 270px; height: 15px; background: #FFF; border: 5px solid #424B54; border-right: none; border-bottom: none;
}
.bottom-sill:before { position: absolute; content: ''; top: -5px; left: 349px; width: 90px; height: 15px; background: #FFF; border: 5px solid #424B54; border-left: none; border-bottom: none;
}
.line { top: 225px; left: -120px; width: 700px; height: 5px; background: #424B54;
}
.text { top: 240px; color: #424B54; font-family: sans-serif; letter-spacing: 2px;
}
.text a { color: #F77AC0; text-decoration: none;
}
CSS Shop - Script Codes JS Codes
//Based on a illustration by Scott Tusk
//https://dribbble.com/shots/2236012-Doughnut-Shop
Developer | Sasha |
Username | sashatran |
Uploaded | June 12, 2022 |
Rating | 4 |
Size | 3,473 Kb |
Views | 113,344 |
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 |
Layout Design | 3,488 Kb |
Flexgrow illustration | 3,503 Kb |
Pages of 2017 | 3,411 Kb |
Button with Hover Effect | 2,698 Kb |
Svg Stars Experiment | 4,245 Kb |
CSS Gallery Hover Effect | 2,938 Kb |
CSS Shop | 3,473 Kb |
Animated CSS Tooltip | 2,818 Kb |
SVG Filter Gooey Share, Social Media Button | 3,275 Kb |
Input UI Animation | 3,234 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 |
Portfolio Page | KaylaMT | 1,983 Kb |
Print element on a page | Mrs_snow | 2,081 Kb |
IPhone5S SVG Space Grey | Onlinechris | 75,035 Kb |
Simple DevTools | Deegill | 2,511 Kb |
CSS Heart Loaders | Nourabusoud | 2,161 Kb |
Collapsing Widget | Er40 | 4,279 Kb |
Video mute | Leon9208 | 2,131 Kb |
A Bouncy Menu Toggle | Billyysea | 4,563 Kb |
CSS Link Zoom On Click | Bryce | 1,960 Kb |
Asteroids | Davedehaan | 2,846 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!