Fri, 16 Jan 2015 18:13:44 +0100
Integrate suggestion from review to improve consistency with existing code.
michael@0 | 1 | <!doctype html> |
michael@0 | 2 | <html><head> |
michael@0 | 3 | <title>border-image: repeat with zero-width left and right</title> |
michael@0 | 4 | <style> |
michael@0 | 5 | span { |
michael@0 | 6 | display: inline-block; |
michael@0 | 7 | margin: 5px; |
michael@0 | 8 | box-sizing: border-box; |
michael@0 | 9 | width: 13px; |
michael@0 | 10 | border-style: solid; |
michael@0 | 11 | border-color: transparent; |
michael@0 | 12 | border-width: 10px 0; |
michael@0 | 13 | border-image: url("roundrectbutton.png") 10 0 repeat; |
michael@0 | 14 | } |
michael@0 | 15 | </style> |
michael@0 | 16 | </head><body> |
michael@0 | 17 | <p> |
michael@0 | 18 | <span style="height:24px"></span> |
michael@0 | 19 | <span style="height:25px"></span> |
michael@0 | 20 | <span style="height:26px"></span> |
michael@0 | 21 | <span style="height:27px"></span> |
michael@0 | 22 | <span style="height:28px"></span> |
michael@0 | 23 | <span style="height:30px"></span> |
michael@0 | 24 | <span style="height:35px"></span> |
michael@0 | 25 | <span style="height:40px"></span> |
michael@0 | 26 | <span style="height:50px"></span> |
michael@0 | 27 | </p> |
michael@0 | 28 | </body></html> |