Here is my simple CSS code:
header img {
box-shadow: 0 0 40px 5px #CCC ;
}
This look like this:
My logo.png
was rounded with photoshop: http://s8.postimg.org/3ws8ehaud/logo_easyjobs.png
Here is my simple CSS code:
header img {
box-shadow: 0 0 40px 5px #CCC ;
}
This look like this:
My logo.png
was rounded with photoshop: http://s8.postimg.org/3ws8ehaud/logo_easyjobs.png
3
Answers
Apply
border-radius:50%
to your image, it should look about the same and fix your shadow. But it looks like your rounded image doesn’t line up perfectly with the edge of the image (Their is extra transparent space at the tops and sides). So you will need to edit it to be lined up with the edge of the canvas more perfectly.Here’s some code:
HTML
CSS
And the jsfiddle: http://jsfiddle.net/fQY2h/1/
Try THIS. Hope this helps. I used
border-radius
to make the div round.CSS :