Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR HTML

how to make a square div in css

.square {
    background-color: #000;
    width: 50vw;
    height: 50vw;
}
.square h1 {
    color: #fff;
}
/* It works */
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #square #div #css
ADD COMMENT
Topic
Name
7+6 =