Bricss – box-shadow vs filter: drop-shadow

Have you ever wanted a box-shadow that followed the shape of an element, including generated content, like a tooltip with an arrow? Or you wanted a box-shadow to take transparent parts of a .png into account? That’s exactly what filter: drop-shadow() does. It has the exact same syntax as the box-shadow property, except that inset drop-shadows are not supported (yet?).

Visit Link

Leave a comment

Your email address will not be published. Required fields are marked *