Nice flat icon
How do I make an nice flat icon?
Inspired by Dribbble (http://dribbble.com/shots/1106177-Something-less-flat): A nice flat Photoshop icon. What is a nice flat icon? How do you make a nice flat icon? This script and codes were developed by Jaflo on 12 September 2022, Monday.
Nice flat icon - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Nice flat icon</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! */ body { background: #34495E; color: white; font-family: "Segoe UI", Candara, "Bitstream Vera Sans", "DejaVu Sans", "Bitstream Vera Sans", "Trebuchet MS", Verdana, "Verdana Ref", sans-serif; text-align: center;
}
a { color: white;
}
#icon { background: #389adc;
background: -moz-linear-gradient(top, #389adc 0%, #41a0de 100%);
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#389adc), color-stop(100%,#41a0de));
background: -webkit-linear-gradient(top, #389adc 0%,#41a0de 100%);
background: -o-linear-gradient(top, #389adc 0%,#41a0de 100%);
background: -ms-linear-gradient(top, #389adc 0%,#41a0de 100%);
background: linear-gradient(to bottom, #389adc 0%,#41a0de 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#389adc', endColorstr='#41a0de',GradientType=0 ); width: 100px; height: 100px; color: #B7E2FF; font-size: 40px; line-height: 100px; text-align: center; /* Again: */ font-family: "Segoe UI", Candara, "Bitstream Vera Sans", "DejaVu Sans", "Bitstream Vera Sans", "Trebuchet MS", Verdana, "Verdana Ref", sans-serif; font-weight: bold; border-radius: 2px; margin: 50px auto; letter-spacing: .05em; box-shadow: inset 0 1px 2px rgba(255,255,255,0.3), 0 0 20px rgba(0,0,0,0.5); /* Is there a better way to do this than to hand-code it? */ text-shadow: 1px 1px 0 rgba(36,117,203,1), 3px 3px 0 rgba(36,117,203,0.9), 5px 5px 0 rgba(36,117,203,0.8), 7px 7px 0 rgba(36,117,203,0.7), 9px 9px 0 rgba(36,117,203,0.6), 11px 11px 0 rgba(36,117,203,0.5), 13px 13px 0 rgba(36,117,203,0.4), 15px 15px 0 rgba(36,117,203,0.3), 17px 17px 0 rgba(36,117,203,0.2), 19px 19px 0 rgba(36,117,203,0.1), 21px 21px 0 rgba(36,117,203,0.08), 23px 23px 0 rgba(36,117,203,0.06), 25px 25px 0 rgba(36,117,203,0.04), 27px 27px 0 rgba(36,117,203,0.02), 29px 29px 0 rgba(36,117,203,0.0);
} </style> <script src="https://cdnjs.cloudflare.com/ajax/libs/prefixfree/1.0.7/prefixfree.min.js"></script>
</head>
<body> <div id="icon">PS</div>
Inspired by <a href="http://dribbble.com/shots/1106177-Something-less-flat">Dribbble</a> <script src='http://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js'></script>
</body>
</html>
Nice flat icon - Script Codes CSS Codes
body { background: #34495E; color: white; font-family: "Segoe UI", Candara, "Bitstream Vera Sans", "DejaVu Sans", "Bitstream Vera Sans", "Trebuchet MS", Verdana, "Verdana Ref", sans-serif; text-align: center;
}
a { color: white;
}
#icon { background: #389adc;
background: -moz-linear-gradient(top, #389adc 0%, #41a0de 100%);
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#389adc), color-stop(100%,#41a0de));
background: -webkit-linear-gradient(top, #389adc 0%,#41a0de 100%);
background: -o-linear-gradient(top, #389adc 0%,#41a0de 100%);
background: -ms-linear-gradient(top, #389adc 0%,#41a0de 100%);
background: linear-gradient(to bottom, #389adc 0%,#41a0de 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#389adc', endColorstr='#41a0de',GradientType=0 ); width: 100px; height: 100px; color: #B7E2FF; font-size: 40px; line-height: 100px; text-align: center; /* Again: */ font-family: "Segoe UI", Candara, "Bitstream Vera Sans", "DejaVu Sans", "Bitstream Vera Sans", "Trebuchet MS", Verdana, "Verdana Ref", sans-serif; font-weight: bold; border-radius: 2px; margin: 50px auto; letter-spacing: .05em; box-shadow: inset 0 1px 2px rgba(255,255,255,0.3), 0 0 20px rgba(0,0,0,0.5); /* Is there a better way to do this than to hand-code it? */ text-shadow: 1px 1px 0 rgba(36,117,203,1), 3px 3px 0 rgba(36,117,203,0.9), 5px 5px 0 rgba(36,117,203,0.8), 7px 7px 0 rgba(36,117,203,0.7), 9px 9px 0 rgba(36,117,203,0.6), 11px 11px 0 rgba(36,117,203,0.5), 13px 13px 0 rgba(36,117,203,0.4), 15px 15px 0 rgba(36,117,203,0.3), 17px 17px 0 rgba(36,117,203,0.2), 19px 19px 0 rgba(36,117,203,0.1), 21px 21px 0 rgba(36,117,203,0.08), 23px 23px 0 rgba(36,117,203,0.06), 25px 25px 0 rgba(36,117,203,0.04), 27px 27px 0 rgba(36,117,203,0.02), 29px 29px 0 rgba(36,117,203,0.0);
}
Developer | Jaflo |
Username | jaflo |
Uploaded | September 12, 2022 |
Rating | 4 |
Size | 2,956 Kb |
Views | 36,432 |
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 |
Pokemon-like dialogue box | 2,392 Kb |
Share button for images | 2,715 Kb |
Little loader | 1,979 Kb |
Wobble menu change animation | 2,443 Kb |
A note | 3,325 Kb |
Cloud upload | 2,774 Kb |
Shopping cart | 4,412 Kb |
A Pen by jaflo | 2,066 Kb |
Resizable mail icon | 2,826 Kb |
File save gif in CSS | 3,134 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 |
SnappySnippet Test | Elmsoftware | 8,385 Kb |
JQuery AJAX reddit Exercise | Btholt | 1,777 Kb |
Responsive Advert | James_zedd | 2,354 Kb |
Ionic Infinite outside ion-content with ion-pane | Felquis | 3,117 Kb |
Board Site | IndianaLuft | 10,542 Kb |
Css3 loader | Clknap | 2,391 Kb |
Gulpfile | Aimhigherwebdesign-amy | 1,765 Kb |
CSS Hover Effects | Alen | 3,613 Kb |
Mandelbrot Fractal | _Billy_Brown | 2,706 Kb |
Pure CSS Tooltips | Mobius1 | 2,271 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!