0
I need to convert an image to css, but I’m not able to generate her background using this radial gradient.
Follow picture: http://images.pcworld.com/images/article/2012/01/pcw40420ul.to20-20not20available-100310-10056081.png
It is possible to make this same background in pure css?
I tried that way, but it was nothing like:
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>Documento sem título</title>
<style type="text/css">
body {
/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#7db9e8+0,207cca+49,2989d8+50,1e5799+100 */
background: rgb(125,185,232); /* Old browsers */
background: -moz-radial-gradient(center, ellipse cover, rgba(125,185,232,1) 0%, rgba(32,124,202,1) 49%, rgba(41,137,216,1) 50%, rgba(30,87,153,1) 100%); /* FF3.6-15 */
background: -webkit-radial-gradient(center, ellipse cover, rgba(125,185,232,1) 0%,rgba(32,124,202,1) 49%,rgba(41,137,216,1) 50%,rgba(30,87,153,1) 100%); /* Chrome10-25,Safari5.1-6 */
background: radial-gradient(ellipse at center, rgba(125,185,232,1) 0%,rgba(32,124,202,1) 49%,rgba(41,137,216,1) 50%,rgba(30,87,153,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#7db9e8', endColorstr='#1e5799',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
background-attachment: fixed;
}
</style>
</head>
<body>
</body>
</html>
Yes. You can [Edit] the question and add the CSS you tried to do?
– Woss
I updated the question.
– Wendler
Ué, if you want a radial gradient, why in CSS you say you want linear?
– bfavaretto
http://www.colorzilla.com/gradient-editor/
– bfavaretto
Jeez oo, I changed there but I could not leave equal, see how it was now...
– Wendler