CSS text shadows and border rounding


/ Published in: CSS
Save to your folder(s)

1. Adding shadow to text – text-shadow
Helps make your text stand out from the rest.
2. border image rounding


Copy this code and paste it in your HTML
  1. .text-shadow {
  2. text-shadow: 2px 2px 4px #666;
  3. }
  4.  
  5. #border-image-style {
  6. border-width:15px;
  7. /* 3 types of border exist repeated, rounded or stretched (repeat / round / stretch) */
  8. -moz-border-image:url(border.png) 30 30 stretch ;
  9. -webkit-border-image:url(border.png) 30 30 stretch;
  10. }

URL: http://speckyboy.com/2011/04/15/25-css-snippets-for-some-of-the-most-common-and-frustrating-tasks/

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.