Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Box-shadow only on div corners

Tags:

css

I have a problem with box-shadow. I need to have shadow only on bottom corners of div as on this image. Deos anyone know how to do that? Thanks in advance for your help. enter image description here

like image 808
Marko Vasic Avatar asked Aug 19 '13 09:08

Marko Vasic


People also ask

How do I set my box shadow only on the right side?

box-shadow: h-offset v-offset blur spread color; box-shadows values: h-offset: It is required and used to set the position of the shadow horizontally. The positive value is used to set the shadow on right side of the box and a negative value is used to set the shadow on the left side of the box.

How do you make a shadow box only on the left side?

That syntax is: box-shadow: [horizontal offset] [vertical offset] [blur radius] [optional spread radius] [color]; The horizontal offset (required) of the shadow, positive means the shadow will be on the right of the box, a negative offset will put the shadow on the left of the box.

How do you put box shadow on one side?

To set a box-shadow on one side of the element, use the box-shadow property. This property has four length parameters and a color. box-shadow: h-offset v-offset blur spread color; h-offset sets the shadow horizontally.


1 Answers

i am sharing working link to the example.

You can do this using css3.

WORKING DEMO

like image 147
Dipesh Parmar Avatar answered Sep 30 '22 00:09

Dipesh Parmar