Dribbble 2 CSS relaxer

Developer
Size
4,293 Kb
Views
10,120

How do I make an dribbble 2 css relaxer?

When i'm stuck on a problem at work I tend to find code-penning to be relaxing and a good way to let my mind drift a bit. Sometimes, though, as with creative writing, I need a bit of lead to get started on my "code-doodling" so i've taken to just randomly picking something off the main page of dribble and trying to loosely recreate it. . What is a dribbble 2 css relaxer? How do you make a dribbble 2 css relaxer? This script and codes were developed by Mark Santiago on 02 November 2022, Wednesday.

Dribbble 2 CSS relaxer Previews

Dribbble 2 CSS relaxer - Script Codes HTML Codes

<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Dribbble 2 CSS relaxer</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);
body { background: #34495e;
}
div { position: relative; margin: 0 auto; margin-top: 150px; height: 220px; width: 300px; box-shadow: 1px 1px 15px 0px #444;
}
span.zero { display: block; height: 70px; width: 40px; border: 25px solid white; border-radius: 50%; position: absolute; top: 0; left: 30px;
}
.zero.bottom { top: 95px; z-index: 1;
}
.zero.bottom:before { position: absolute; content: " "; z-index: 3; height: 20px; width: 90px; margin-left: -25px; background: transparent; top: 30px; border-top: 15px; border-bottom: 5px; border-left: 0px; border-right: 0px; border-style: solid; border-color: #34495e;
}
.zero.bottom:after { position: absolute; content: " "; z-index: 3; height: 20px; width: 90px; margin-left: -25px; background: transparent; top: 50px; border-top: 6px; border-bottom: 5px; border-left: 0px; border-right: 0px; border-style: solid; border-color: #34495e;
}
.big_zero { display: block; position: absolute; left: 140px; width: 130px; height: 200px; top: 15px; border-radius: 45%; background: linear-gradient(to bottom, #ffffff 68%, #3498db 68%, #3498db 70%, #34495e 70%, #34495e 75%, #3498db 75%, #3498db 80%, #34495e 80%, #34495e 85%, #3498db 85%, #3498db 88%, #34495e 88%, #34495e 90%, #3498db 90%, #3498db 100%); /* W3C */ animation: stripes 5s linear infinite;
}
.big_zero:after { content: ""; position: absolute; border-radius: 45%; left: 25px; top: 25px; width: 80px; height: 150px; background: #34495e;
}
.big_zero:before { content: "YEARS"; font-family: 'Open Sans', sans-serif; position: absolute; left: -5%; top: 70px; text-align: center; letter-spacing: 3px; color: #34495e; font-size: 36px; width: 110%; height: 50px; z-index: 5; background: #3498db; border-bottom: 6px solid #34495e;
}
@keyframes stripes { 0%,100% { background: linear-gradient(to bottom, #ffffff 68%, #3498db 68%, #3498db 70%, #34495e 70%, #34495e 75%, #3498db 75%, #3498db 80%, #34495e 80%, #34495e 85%, #3498db 85%, #3498db 88%, #34495e 88%, #34495e 90%, #3498db 90%, #3498db 100%); } 25% { background: linear-gradient(to bottom, #ffffff 78%, #3498db 68%, #3498db 70%, #34495e 70%, #34495e 75%, #3498db 75%, #3498db 80%, #34495e 80%, #34495e 85%, #3498db 85%, #3498db 88%, #34495e 88%, #34495e 90%, #3498db 90%, #3498db 100%); } 50% { background: linear-gradient(to bottom, #ffffff 100%, #3498db 68%, #3498db 70%, #34495e 70%, #34495e 75%, #3498db 75%, #3498db 80%, #34495e 80%, #34495e 85%, #3498db 85%, #3498db 88%, #34495e 88%, #34495e 90%, #3498db 90%, #ffffff 100%); } 75% { background: linear-gradient(to bottom, #ffffff 78%, #3498db 68%, #3498db 70%, #34495e 70%, #34495e 75%, #3498db 75%, #3498db 80%, #34495e 80%, #34495e 85%, #3498db 85%, #3498db 88%, #34495e 88%, #34495e 90%, #3498db 90%, #3498db 100%); }
} </style> <script src="https://cdnjs.cloudflare.com/ajax/libs/prefixfree/1.0.7/prefixfree.min.js"></script>
</head>
<body> <div> <span class="zero"></span> <span class="zero bottom"></span> <span class="big_zero"></span>
</div> <script src="js/index.js"></script>
</body>
</html>

Dribbble 2 CSS relaxer - Script Codes CSS Codes

@import url(https://fonts.googleapis.com/css?family=Open+Sans);
body { background: #34495e;
}
div { position: relative; margin: 0 auto; margin-top: 150px; height: 220px; width: 300px; box-shadow: 1px 1px 15px 0px #444;
}
span.zero { display: block; height: 70px; width: 40px; border: 25px solid white; border-radius: 50%; position: absolute; top: 0; left: 30px;
}
.zero.bottom { top: 95px; z-index: 1;
}
.zero.bottom:before { position: absolute; content: " "; z-index: 3; height: 20px; width: 90px; margin-left: -25px; background: transparent; top: 30px; border-top: 15px; border-bottom: 5px; border-left: 0px; border-right: 0px; border-style: solid; border-color: #34495e;
}
.zero.bottom:after { position: absolute; content: " "; z-index: 3; height: 20px; width: 90px; margin-left: -25px; background: transparent; top: 50px; border-top: 6px; border-bottom: 5px; border-left: 0px; border-right: 0px; border-style: solid; border-color: #34495e;
}
.big_zero { display: block; position: absolute; left: 140px; width: 130px; height: 200px; top: 15px; border-radius: 45%; background: linear-gradient(to bottom, #ffffff 68%, #3498db 68%, #3498db 70%, #34495e 70%, #34495e 75%, #3498db 75%, #3498db 80%, #34495e 80%, #34495e 85%, #3498db 85%, #3498db 88%, #34495e 88%, #34495e 90%, #3498db 90%, #3498db 100%); /* W3C */ animation: stripes 5s linear infinite;
}
.big_zero:after { content: ""; position: absolute; border-radius: 45%; left: 25px; top: 25px; width: 80px; height: 150px; background: #34495e;
}
.big_zero:before { content: "YEARS"; font-family: 'Open Sans', sans-serif; position: absolute; left: -5%; top: 70px; text-align: center; letter-spacing: 3px; color: #34495e; font-size: 36px; width: 110%; height: 50px; z-index: 5; background: #3498db; border-bottom: 6px solid #34495e;
}
@keyframes stripes { 0%,100% { background: linear-gradient(to bottom, #ffffff 68%, #3498db 68%, #3498db 70%, #34495e 70%, #34495e 75%, #3498db 75%, #3498db 80%, #34495e 80%, #34495e 85%, #3498db 85%, #3498db 88%, #34495e 88%, #34495e 90%, #3498db 90%, #3498db 100%); } 25% { background: linear-gradient(to bottom, #ffffff 78%, #3498db 68%, #3498db 70%, #34495e 70%, #34495e 75%, #3498db 75%, #3498db 80%, #34495e 80%, #34495e 85%, #3498db 85%, #3498db 88%, #34495e 88%, #34495e 90%, #3498db 90%, #3498db 100%); } 50% { background: linear-gradient(to bottom, #ffffff 100%, #3498db 68%, #3498db 70%, #34495e 70%, #34495e 75%, #3498db 75%, #3498db 80%, #34495e 80%, #34495e 85%, #3498db 85%, #3498db 88%, #34495e 88%, #34495e 90%, #3498db 90%, #ffffff 100%); } 75% { background: linear-gradient(to bottom, #ffffff 78%, #3498db 68%, #3498db 70%, #34495e 70%, #34495e 75%, #3498db 75%, #3498db 80%, #34495e 80%, #34495e 85%, #3498db 85%, #3498db 88%, #34495e 88%, #34495e 90%, #3498db 90%, #3498db 100%); }
}

Dribbble 2 CSS relaxer - Script Codes JS Codes

//quick dribblet to css while stuck on problem at work. never clicked in to the image and never used a color picker or confirmed font type. done with a glance so it's not the most accurate representation possible.
//https://dribbble.com/shots/1662553-80-Years
Dribbble 2 CSS relaxer - Script Codes
Dribbble 2 CSS relaxer - Script Codes
Home Page Home
Developer Mark Santiago
Username msantiago1256
Uploaded November 02, 2022
Rating 3
Size 4,293 Kb
Views 10,120
Do you need developer help for Dribbble 2 CSS relaxer?

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!

Mark Santiago (msantiago1256) Script Codes
Create amazing blog posts 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!