Best Approach to CSS Dropping Method - Not Image

Look for a better approach to the shadowless CSS method.

I have a popup that I would like to add a shadow to.

Bonus question:

Can it work with:

  • -moz-radius border
  • -webkit-radius border
+2


source to share


2 answers


You can use box-shadow and -webkit-box-shadow, see

http://net.tutsplus.com/tutorials/html-css-techniques/html-5-and-css-3-the-techniques-youll-soon-be-using/

      



for more information.

+1


source


I can't tell if this is the best approach, but you can check out the ASP.NET AjaxControlToolkit DropShadow extender . He creates several stylized ones div

to simulate shadows.



0


source







All Articles