<!doctype html> <html> <body> <h2>看看这个例子就会明白所谓“三角边”了|河北冷风机</h2> <div style="border-width:40px;border-style:solid;border-color:red green black blue;line-height:0;font-size:0;width:100px;height:0"></div> <h2>把某些边透明掉就可以模拟三角形了,注意ie6下透明的边要是dotted或dashed</h2> <div style="border-width:40px;border-style:dashed dashed solid dashed;border-color:transparent transparent red transparent;line-height:0;font-size:0;width:0;height:0"></div> <div style="border-width:40px;border-style:dashed solid solid dashed;border-color:transparent blue red transparent;line-height:0;font-size:0;width:0;height:0"></div> </body> </html> <br><br><hr>
时间: 2024-11-29 04:28:20