Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

position absolute center

.child {
    position: absolute;
    top: 50%;  
    left: 50%; 
    transform: translate(-50%, -50%);
}
 
PREVIOUS NEXT
Tagged: #position #absolute #center
ADD COMMENT
Topic
Name
1+4 =