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>

 

上一篇:CSS布局(一)- Grid布局


下一篇:纯CSS3制作旋转的魔方