border属性

xiaoxiao2021-02-28  111

<!DOCTYPE html> <html lang="en"> <head>     <meta charset="UTF-8">     <title>Title</title>     <style>         div{             width: 0px;             height:0px;             /*边框线的宽度*/             /*border-width: 10px;*/             /*边框线的样式*/             /*border-style: dotted;*/             /*边框线的颜色*/             /*border-color: red;*/             /*复合写法:*/             /*border: 10px solid blue;*/             border-left: 100px solid red;             border-right:100px solid blue;             border-bottom: 200px solid palegreen;             border-top:200px solid blueviolet;         }     </style> </head> <body> <div></div> </body> </html>
转载请注明原文地址: https://www.6miu.com/read-61978.html

最新回复(0)