三角形

 1 <!DOCTYPE html>
 2 <html>
 3     <head>
 4         <meta charset="utf-8" />
 5         <title></title>
 6         <style type="text/css">
 7             *{
 8                 margin:0;
 9                 padding:0;
10             }
11             div{
12                 width:0;
13                 height:0;
14                 border:50px solid;
15                 border-color:transparent transparent yellow transparent;
16                 margin:100px auto;
17                 }
18         </style>
19     </head>
20     <body>
21         <div></div>
22     </body>
23 </html>

 

posted @ 2019-01-12 15:45  元哥0317  阅读(183)  评论(0编辑  收藏  举报