Open.Core.Css.ApplyDropshadow C# (CSharp) Method

ApplyDropshadow() public static method

Applies a drop shadow.
public static ApplyDropshadow ( jQueryObject element, string opacity ) : jQueryObject
element jQueryObject The element to update.
opacity string Opacity of the drop-shadow (005, 010, 020, 030, 040, 050, 060).
return jQueryObject
        public static jQueryObject ApplyDropshadow(jQueryObject element, string opacity)
        {
            element.CSS("background-image", string.Format("url(/Open.Core/Images/DropShadow.12.{0}.png)", opacity));
            element.CSS("background-repeat", "repeat-x");
            element.CSS("height", "12px");
            return element;
        }