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 |
Subscribe Button | 2,991 Kb |
Instagram Inspired Loader | 2,271 Kb |
Svg Stars Experiment | 4,245 Kb |
Button with Hover Effect | 2,698 Kb |
Google Inspired Floating Action Button | 2,967 Kb |
VueJS Todo List | 2,158 Kb |
CSS Gallery Hover Effect | 2,938 Kb |
Moving head with Parallax.js | 3,066 Kb |
Creative Juice Co. | 6,391 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 Landing Page | FDfranklin | 3,585 Kb |
Airbnb Homepage | SindhujaD | 2,480 Kb |
Pomodoro Clock | Osycon | 3,705 Kb |
Glowing Pulse Form | Jackrugile | 2,542 Kb |
Feedback Page | TessDiNapoli | 2,836 Kb |
CSS eye follow | Pedrocampos | 2,592 Kb |
Konami Code Easter Egg | Teolitto | 3,051 Kb |
Drill-down Map | Good886 | 8,484 Kb |
Responsive slide | Thorien | 2,400 Kb |
Kut D3 | Jellevrswk | 3,687 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!