| <!DOCTYPE html> |
| <html> |
| <head> |
| <title>CSS Backgrounds and Borders Test: border-clip_border-box</title> |
| <link rel="author" title="Dong An" href="mailto:andong135@126.com"> |
| <link rel="help" href="http://www.w3.org/TR/css3-background/#the-border-color"> |
| <meta name="assert" content="Test transparent of border-color"> |
| <style type="text/css"> |
| .container { |
| border: 1px solid red; |
| width:100px; |
| height:100px; |
| background-color:#eee; |
| } |
| .triangle-up { |
| height: 0; |
| width: 0; |
| border: 50px solid #e5c3b2; |
| border-color: transparent transparent #e5c3b2 transparent; |
| } |
| </style> |
| </head> |
| <body> |
| <p>Test passes if the shape is an up triangle </p> |
| <div class="container"> |
| <div class="triangle-up"></div> |
| </div> |
| </body> |
| </html> |