Posted By

skopp on 08/29/12


Tagged

text corners img border tricks shadow rounding chamfer


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

radule


CSS text shadows and border rounding


 / Published in: CSS
 

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

  1. Adding shadow to text – text-shadow Helps make your text stand out from the rest.
  2. border image rounding
  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. }

Report this snippet  

You need to login to post a comment.