border-image property in CSS3

This property is used to set the Border Image. Only Internet Explorer does not support this property.
  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
  2. <html>
  3. <head>
  4. <style type="text/css">
  5. div
  6. {
  7. border-width: 12px;
  8. width: 300px;
  9. padding: 10px 30px;
  10. }
  11. #round
  12. {
  13. border-image: url("circle.jpg") 20 20 round;
  14. /* For Google Chrome */
  15. -moz-border-image: url("circle.jpg") 20 20 round;
  16. /*For Mozilla Firefox */
  17. -webkit-border-image: url("circle.jpg") 20 20 round;
  18. /*For Safari */
  19. -o-border-image: url("circle.jpg") 20 20 round;
  20. /* For Opera */
  21. }
  22. </style>
  23. </head>
  24. <body>
  25. <div id="round">My Name is Mahak Garg</div>
  26. </body>
  27. </html>
Output:
1.png