Google Canary icon in pure CSS

Developer
Size
3,981 Kb
Views
42,504

How do I make an google canary icon in pure css?

Well, actually SCSS, but :) This one was pretty easy to create after my Pure CSS Chrome icon : http://codepen.io/scrapmac/pen/AExIw. What is a google canary icon in pure css? How do you make a google canary icon in pure css? This script and codes were developed by Girish Sharma on 02 August 2022, Tuesday.

Google Canary icon in pure CSS Previews

Google Canary icon in pure CSS - Script Codes HTML Codes

<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Google Canary icon in pure CSS</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! */ /* Demo specific styles begin */
* { margin: 0; padding: 0;
}
.canary-icon { position: absolute; top: calc(50% - 100px); left: calc(50% - 350px); z-index: 4;
}
p { position: absolute; top: calc(50% - 18px); left: calc(50% - 330px); padding-left: 200px; font: 400 160px/18px 'Open Sans',arial,sans-serif; color: #77787b; text-shadow: 0 0 4px #888; background-clip: content-box;
}
a { font-family: arial,sans-serif; font-weight: 600; font-size: 0.9rem; text-decoration: none; position: fixed; bottom: 0; right: 0; margin: 5px; color: #333;
}
a:hover { color: #777;
}
/* Demo specific styles end */
.canary-icon { width: 200px; height: 200px; border-radius: 50%; box-shadow: inset 0 -5px 25px 0 rgba(0, 0, 0, 0.2), 0 2px 4px 1px rgba(0, 0, 0, 0.4), inset 0 45px 30px -20px rgba(255, 255, 255, 0.4); overflow: hidden; background-repeat: no-repeat; background-image: linear-gradient(-20deg, rgba(0, 0, 0, 0) 50%, #ebbe00 50%), linear-gradient(120deg, rgba(0, 0, 0, 0) 50%, #ecc21b 50%), linear-gradient(101deg, rgba(0, 0, 0, 0) 50%, #dd9f00 50%), linear-gradient(180deg, #cb8f00 28%, #ecc21b 28%), linear-gradient(60deg, #e0a600 35%, rgba(0, 0, 0, 0) 35%), linear-gradient(42deg, #c78600 50%, rgba(0, 0, 0, 0) 50%), linear-gradient(60deg, #cb8f00, #cb8f00 100%), linear-gradient(60deg, #e0a600, #e0a600 100%); background-size: 50% 17%, 21% 35%, 31% 48%, 49.5% 100%, 50.5% 57%, 30% 44%, 50.5% 55%, 50.5% 45%; background-position: 100% 33.5%, 58% 100%, 50% 100%, 100% 0%, 0 0, 10% 20%, 0 0, 0 100%;
}
.canary-icon:after, .canary-icon:before { content: ''; height: 45%; width: 45%; left: 27.5%; top: 27.5%; border-radius: 50%; background: white; box-shadow: 0 -5px 50px 0 rgba(0, 0, 0, 0.2); position: absolute;
}
.canary-icon:before { z-index: 2; top: 31%; left: 31%; height: 38%; width: 38%; background: #e4ac00; box-shadow: inset 0 -20px 20px 0 rgba(0, 0, 0, 0.2), inset 0 20px 20px 0 rgba(255, 255, 255, 0.3);
} </style> <script src="https://cdnjs.cloudflare.com/ajax/libs/prefixfree/1.0.7/prefixfree.min.js"></script>
</head>
<body> <p>canary</p><div class="canary-icon"></div>
<a href="http://codepen.io/collection/khwrE">See my other interesting loaders in pure CSS</a>
</body>
</html>

Google Canary icon in pure CSS - Script Codes CSS Codes

/* Demo specific styles begin */
* { margin: 0; padding: 0;
}
.canary-icon { position: absolute; top: calc(50% - 100px); left: calc(50% - 350px); z-index: 4;
}
p { position: absolute; top: calc(50% - 18px); left: calc(50% - 330px); padding-left: 200px; font: 400 160px/18px 'Open Sans',arial,sans-serif; color: #77787b; text-shadow: 0 0 4px #888; background-clip: content-box;
}
a { font-family: arial,sans-serif; font-weight: 600; font-size: 0.9rem; text-decoration: none; position: fixed; bottom: 0; right: 0; margin: 5px; color: #333;
}
a:hover { color: #777;
}
/* Demo specific styles end */
.canary-icon { width: 200px; height: 200px; border-radius: 50%; box-shadow: inset 0 -5px 25px 0 rgba(0, 0, 0, 0.2), 0 2px 4px 1px rgba(0, 0, 0, 0.4), inset 0 45px 30px -20px rgba(255, 255, 255, 0.4); overflow: hidden; background-repeat: no-repeat; background-image: linear-gradient(-20deg, rgba(0, 0, 0, 0) 50%, #ebbe00 50%), linear-gradient(120deg, rgba(0, 0, 0, 0) 50%, #ecc21b 50%), linear-gradient(101deg, rgba(0, 0, 0, 0) 50%, #dd9f00 50%), linear-gradient(180deg, #cb8f00 28%, #ecc21b 28%), linear-gradient(60deg, #e0a600 35%, rgba(0, 0, 0, 0) 35%), linear-gradient(42deg, #c78600 50%, rgba(0, 0, 0, 0) 50%), linear-gradient(60deg, #cb8f00, #cb8f00 100%), linear-gradient(60deg, #e0a600, #e0a600 100%); background-size: 50% 17%, 21% 35%, 31% 48%, 49.5% 100%, 50.5% 57%, 30% 44%, 50.5% 55%, 50.5% 45%; background-position: 100% 33.5%, 58% 100%, 50% 100%, 100% 0%, 0 0, 10% 20%, 0 0, 0 100%;
}
.canary-icon:after, .canary-icon:before { content: ''; height: 45%; width: 45%; left: 27.5%; top: 27.5%; border-radius: 50%; background: white; box-shadow: 0 -5px 50px 0 rgba(0, 0, 0, 0.2); position: absolute;
}
.canary-icon:before { z-index: 2; top: 31%; left: 31%; height: 38%; width: 38%; background: #e4ac00; box-shadow: inset 0 -20px 20px 0 rgba(0, 0, 0, 0.2), inset 0 20px 20px 0 rgba(255, 255, 255, 0.3);
}
Google Canary icon in pure CSS - Script Codes
Google Canary icon in pure CSS - Script Codes
Home Page Home
Developer Girish Sharma
Username grssam
Uploaded August 02, 2022
Rating 3
Size 3,981 Kb
Views 42,504
Do you need developer help for Google Canary icon in pure CSS?

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!

Girish Sharma (grssam) Script Codes
Create amazing Facebook ads 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!