Skip to content

Instantly share code, notes, and snippets.

@dieseltravis
Created July 25, 2008 20:43
Show Gist options
  • Save dieseltravis/2519 to your computer and use it in GitHub Desktop.
Save dieseltravis/2519 to your computer and use it in GitHub Desktop.
adding a drop shadow to the page using RUZEE.ShadedBorder
/* add shadow to page */
$("#body").wrap("<div id=\"body-shadow\" style=\"width:800px; margin: auto; padding: 0 4px 5px 0;\"></div>");
var border = RUZEE.ShadedBorder.create(
{
corner: 1,
shadow: 8,
border: 0,
borderOpacity: 0.8
}
);
border.render("body-shadow");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment