79fc93bf68cf780a53d46e070f3b38ede5c9b3ec.svn-base 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <title>Borders tests</title>
  5. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  6. <script type="text/javascript" src="../../test.js"></script>
  7. <style type="text/css">
  8. div {
  9. width: 200px;
  10. height: 200px;
  11. display: inline-block;
  12. margin: 10px;
  13. background:#6F428C;
  14. border-style: solid;
  15. border-radius: 50px;
  16. }
  17. .box1 {
  18. border-width: 1px;
  19. border-left-color: #00b5e2;
  20. border-top-color: red;
  21. border-right-color: green;
  22. }
  23. .box2 {
  24. border-width: 3px;
  25. border-left-color: #00b5e2;
  26. border-top-color: red;
  27. border-right-color: green;
  28. }
  29. .box3 {
  30. border-width: 10px;
  31. border-left-color: transparent;
  32. border-top-color: red;
  33. border-right-color: green;
  34. }
  35. .box4 {
  36. border-width: 50px;
  37. border-left-color: transparent;
  38. border-top-color: red;
  39. border-top-width: 10px;
  40. border-right-color: green;
  41. border-bottom-right-radius: 190px;
  42. background-clip: padding-box;
  43. }
  44. .box5 {
  45. margin: 100px;
  46. border-width: 50px;
  47. border-left-color: transparent;
  48. border-top-color: red;
  49. border-top-width: 10px;
  50. border-right-color: green;
  51. border-radius: 25px;
  52. background-clip: padding-box;
  53. }
  54. .box6 {
  55. height: 200px;
  56. width: 200px;
  57. border-radius: 200px;
  58. }
  59. html {
  60. background: #3a84c3;
  61. }
  62. </style>
  63. </head>
  64. <body>
  65. <div class="box1">&nbsp;</div>
  66. <div class="box2">&nbsp;</div>
  67. <div class="box3">&nbsp;</div>
  68. <div class="box4">&nbsp;</div>
  69. <div class="box5">&nbsp;</div>
  70. <div class="box6">&nbsp;</div>
  71. </body>
  72. </html>