17 Aug 2015

How to apply border in CSS

-----HTML-----

<!DOCTYPE html>
<html>
    <head>
        <link rel="stylesheet" href="css/primary.css">
    </head>
    <body>
        <div id="container"></div>
    </body>
</html>

-----CSS-----

#container{
    
    background: #eee;
    height: 300px;
    width: 300px;
    border: 1px solid #000;
   
}
Share:

0 comments:

Post a Comment