Created
June 5, 2015 09:57
-
-
Save rosswarren/4e3b71f15638d60605b6 to your computer and use it in GitHub Desktop.
Polaris Radial Gradient
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
background: rgb(255,255,255); /* Old browsers */ | |
/* IE9 SVG, needs conditional override of 'filter' to 'none' */ | |
background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPHJhZGlhbEdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgY3g9IjUwJSIgY3k9IjUwJSIgcj0iNzUlIj4KICAgIDxzdG9wIG9mZnNldD0iMzAlIiBzdG9wLWNvbG9yPSIjZmZmZmZmIiBzdG9wLW9wYWNpdHk9IjEiLz4KICAgIDxzdG9wIG9mZnNldD0iNTYlIiBzdG9wLWNvbG9yPSIjZTVlNWVhIiBzdG9wLW9wYWNpdHk9IjEiLz4KICAgIDxzdG9wIG9mZnNldD0iNTYlIiBzdG9wLWNvbG9yPSIjZTVlNWVhIiBzdG9wLW9wYWNpdHk9IjEiLz4KICAgIDxzdG9wIG9mZnNldD0iNzElIiBzdG9wLWNvbG9yPSIjYzljN2QxIiBzdG9wLW9wYWNpdHk9IjEiLz4KICA8L3JhZGlhbEdyYWRpZW50PgogIDxyZWN0IHg9Ii01MCIgeT0iLTUwIiB3aWR0aD0iMTAxIiBoZWlnaHQ9IjEwMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+); | |
background: -moz-radial-gradient(center, ellipse cover, rgba(255,255,255,1) 30%, rgba(229,229,234,1) 56%, rgba(229,229,234,1) 56%, rgba(201,199,209,1) 71%); /* FF3.6+ */ | |
background: -webkit-gradient(radial, center center, 0px, center center, 100%, color-stop(30%,rgba(255,255,255,1)), color-stop(56%,rgba(229,229,234,1)), color-stop(56%,rgba(229,229,234,1)), color-stop(71%,rgba(201,199,209,1))); /* Chrome,Safari4+ */ | |
background: -webkit-radial-gradient(center, ellipse cover, rgba(255,255,255,1) 30%,rgba(229,229,234,1) 56%,rgba(229,229,234,1) 56%,rgba(201,199,209,1) 71%); /* Chrome10+,Safari5.1+ */ | |
background: -o-radial-gradient(center, ellipse cover, rgba(255,255,255,1) 30%,rgba(229,229,234,1) 56%,rgba(229,229,234,1) 56%,rgba(201,199,209,1) 71%); /* Opera 12+ */ | |
background: -ms-radial-gradient(center, ellipse cover, rgba(255,255,255,1) 30%,rgba(229,229,234,1) 56%,rgba(229,229,234,1) 56%,rgba(201,199,209,1) 71%); /* IE10+ */ | |
background: radial-gradient(ellipse at center, rgba(255,255,255,1) 30%,rgba(229,229,234,1) 56%,rgba(229,229,234,1) 56%,rgba(201,199,209,1) 71%); /* W3C */ | |
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#c9c7d1',GradientType=1 ); /* IE6-8 fallback on horizontal gradient */ | |
/* for mobile */ | |
background: rgb(255,255,255); /* Old browsers */ | |
/* IE9 SVG, needs conditional override of 'filter' to 'none' */ | |
background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPHJhZGlhbEdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgY3g9IjUwJSIgY3k9IjUwJSIgcj0iNzUlIj4KICAgIDxzdG9wIG9mZnNldD0iNDAlIiBzdG9wLWNvbG9yPSIjZmZmZmZmIiBzdG9wLW9wYWNpdHk9IjEiLz4KICAgIDxzdG9wIG9mZnNldD0iNzUlIiBzdG9wLWNvbG9yPSIjZTVlNWVhIiBzdG9wLW9wYWNpdHk9IjEiLz4KICAgIDxzdG9wIG9mZnNldD0iOTUlIiBzdG9wLWNvbG9yPSIjYzljN2QxIiBzdG9wLW9wYWNpdHk9IjEiLz4KICA8L3JhZGlhbEdyYWRpZW50PgogIDxyZWN0IHg9Ii01MCIgeT0iLTUwIiB3aWR0aD0iMTAxIiBoZWlnaHQ9IjEwMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+); | |
background: -moz-radial-gradient(center, ellipse cover, rgba(255,255,255,1) 40%, rgba(229,229,234,1) 75%, rgba(201,199,209,1) 95%); /* FF3.6+ */ | |
background: -webkit-gradient(radial, center center, 0px, center center, 100%, color-stop(40%,rgba(255,255,255,1)), color-stop(75%,rgba(229,229,234,1)), color-stop(95%,rgba(201,199,209,1))); /* Chrome,Safari4+ */ | |
background: -webkit-radial-gradient(center, ellipse cover, rgba(255,255,255,1) 40%,rgba(229,229,234,1) 75%,rgba(201,199,209,1) 95%); /* Chrome10+,Safari5.1+ */ | |
background: -o-radial-gradient(center, ellipse cover, rgba(255,255,255,1) 40%,rgba(229,229,234,1) 75%,rgba(201,199,209,1) 95%); /* Opera 12+ */ | |
background: -ms-radial-gradient(center, ellipse cover, rgba(255,255,255,1) 40%,rgba(229,229,234,1) 75%,rgba(201,199,209,1) 95%); /* IE10+ */ | |
background: radial-gradient(ellipse at center, rgba(255,255,255,1) 40%,rgba(229,229,234,1) 75%,rgba(201,199,209,1) 95%); /* W3C */ | |
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#c9c7d1',GradientType=1 ); /* IE6-8 fallback on horizontal gradient */ | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment