I am trying to make an element with text that is basically a radial gradient. I thought I could do this by taking a round white container and then adding a white box shadow, but the color of the beginning of the shadow and the background color of the div don't match in chrome, and the border-radius property is causing a weird border in Firefox.
I'd love some input, I've created a codepen for this, but here is the code...
http://codepen.io/syren/pen/tcdBz
div.feature{
background:#000;
width:100%;
height: 300px;
}
div.text{
width: 300px;
height: 300px;
background: white;
padding: 130px 0 0;
-moz-box-sizing: border-box;
box-sizing: border-box;
border-radius: 160px;
text-align: center;
text-transform: uppercase;
font-weight: bold;
box-shadow: 0 0 50px 50px #fff;
margin: 0 auto;
}
Thanks!