Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

Align vertically and horizontally


.parent-div .child-div {
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
}
Source by www.markuptag.com #
 
PREVIOUS NEXT
Tagged: #Align #vertically #horizontally
ADD COMMENT
Topic
Name
9+9 =