Cofee and sugar

Size
2,094 Kb
Views
10,120

How do I make an cofee and sugar?

What is a cofee and sugar? How do you make a cofee and sugar? This script and codes were developed by Patrick Walburg on 22 November 2022, Tuesday.

Cofee and sugar Previews

Cofee and sugar - Script Codes HTML Codes

<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>cofee and sugar</title> <link rel="stylesheet" href="css/style.css">
</head>
<body> <div id="coffee"> <div id="handle"></div> <div id="cup"></div> <div id="liquid"></div> <div id="shadow"></div> <div id="cube"></div> <div id="spoon"> <div class="spoontop shadow"></div> <div class="spoonbottom shadow"></div> <div class="spoontop "></div> <div class="spoonbottom "></div> </div>
</div>
</body>
</html>

Cofee and sugar - Script Codes CSS Codes

body { background-color: #aaaaaa; padding-top: 50px;
}
#coffee { width: 300px; margin: 0 auto; position: relative;
}
#cup { position: relative; width: 300px; height: 300px; border-radius: 150px; background: #212121; border: 1px solid #666;
}
#cup:after { display: block; position: relative; background: #212121; content: ""; width: 276px; height: 276px; border-radius: 138px; top: 12px; left: 12px; border: 1px solid #666; box-shadow: inset 20px 0px 10px rgba(0, 0, 0, 0.1);
}
#handle { position: absolute; background: #212121; top: 120px; left: -90px; width: 120px; height: 60px; border-radius: 16px/30px;
}
#handle:before { content: ""; display: block; position: relative; background: #212121; top: -3px; left: 6px; width: 120px; height: 40px; border-radius: 16px/30px; z-index: -1; -webkit-transform: rotate(-3deg); -moz-transform: rotate(-3deg); -ms-transform: rotate(-3deg); transform: rotate(-3deg);
}
#handle:after { content: ""; display: block; position: relative; background: #212121; top: -17px; left: 6px; width: 120px; height: 40px; border-radius: 16px/30px; z-index: -1; -webkit-transform: rotate(3deg); -moz-transform: rotate(3deg); -ms-transform: rotate(3deg); transform: rotate(3deg);
}
#liquid { position: absolute; width: 220px; height: 220px; border-radius: 110px; top: 40px; left: 40px; background: #3B1C08; overflow: hidden;
}
#liquid:before { content: ""; display: block; position: relative; background: #54290C; width: 264px; height: 264px; border-radius: 132px; top: -10px; left: 70px;
}
#shadow { position: absolute; top: 0; left: 130px; background-color:rgba(0,0,0,0.25); height: 302px; width: 250px; border-radius: 0 150px 150px 0; z-index: -10;
}
#cube { background:rgba(255,255,255,1); width:50px; height:50px; position:absolute; top:50px; left:-100px; border-right: 4px solid #bbb; -webkit-transform: rotate(10deg); -moz-transform: rotate(10deg); -ms-transform: rotate(10deg); -o-transform: rotate(10deg); transform:rotate(10deg);
}
#spoon{ position: absolute; right:-30px; top:50px; -webkit-transform: rotate(-10deg); -moz-transform: rotate(-10deg); -ms-transform: rotate(-10deg); -o-transform: rotate(-10deg); transform:rotate(-10deg); z-index:-11;
}
.spoontop{ background:silver; width:60px; height:80px; position: absolute; -webkit-border-radius: 30px / 40px; -moz-border-radius: 30px / 40px; border-radius: 30px / 40px; border:solid 1px #ddd;
}
.spoonbottom{ background:silver; width:16px; height:190px; position: absolute; top:55px; left:24px; -webkit-border-radius: 0px 0px 20px 20px; -moz-border-radius: 0px 0px 20px 20px; border-radius: 0px 0px 20px 20px;
}
.shadow{ background:#999; margin:0px 0px 0px 7px; border:none;
}
Cofee and sugar - Script Codes
Cofee and sugar - Script Codes
Home Page Home
Developer Patrick Walburg
Username tripack
Uploaded November 22, 2022
Rating 3
Size 2,094 Kb
Views 10,120
Do you need developer help for Cofee and sugar?

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!

Patrick Walburg (tripack) Script Codes
Create amazing sales emails 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!