How to create a light oval-shaped CSS3 shadow

前端 未结 4 2076
长发绾君心
长发绾君心 2020-12-25 09:31

I know how to use CSS3 shadows. However I am trying to achieve a specific design. I want the shadow to be a lot lighter and faded off on the left and right edges, please see

相关标签:
4条回答
  • 2020-12-25 09:40

    Something like this? enter image description here

    box-shadow: 0px 20px 37px -28px #000000;

    note about parameters: CSS3's Box-Shadow Adds Drop Shadows, Inner Shadows

    0 讨论(0)
  • 2020-12-25 09:40

    you can play around with box-shadow and gradients here

    css3 gen

    but i don't think you can apply fading on the shadow

    0 讨论(0)
  • 2020-12-25 09:49

    hi you can create oval shaped css3 shadow through border-radius & box-shadow....

    or can see the live demo:-http://jsbin.com/elacen/5/edit

    0 讨论(0)
  • 2020-12-25 10:00

    I use a combination of box-shadow, border-radius and clip.

    http://dabblet.com/gist/2225507

    0 讨论(0)
提交回复
热议问题