RESULT:CSS制作特殊边框
CODE:

 1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html xmlns="http://www.w3.org/1999/xhtml">
3 <head runat="server">
4 <title></title>
5 <style type="text/css">
6 .triangle
7 {
8 border-color: transparent green transparent transparent;
9 border-style: solid;
10 border-width: 5px 4px 5px 0px;
11 height: 0px;
12 width: 0px;
13 float:left;
14 margin-top:30px;
15 }
16 </style>
17 </head>
18 <body>
19 <form id="form1" runat="server">
20 <div style="height:80px;">
21 <div class="triangle">
22 </div>
23 <div style="width:60px; height:73px; float:left;border:solid 1px green; "></div>
24 </div>
25 </form>
26 </body>
27 </html>




相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-12-27
  • 2022-12-23
  • 2021-09-09
  • 2021-06-10
猜你喜欢
  • 2021-12-04
  • 2021-12-04
  • 2021-08-15
  • 2021-08-08
  • 2022-02-15
  • 2021-09-07
相关资源
相似解决方案