6.操作边框的属性.html

  
<!DOCTYPE html>
<html>
    <head>
        <meta charset="UTF-8">
        <title></title>
    </head>
    
    <style type="text/css">
        
        div{
            border: solid;
            border-style: solid dashed double dotted;
            border-color: red;
            width: 200px;
            height: 200px;
            
        }
        
    </style>
    
    <body>
        
        <div>div1</div>
        
        <div>div2</div>
        
    </body>
</html>

 

相关文章