Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

center a div on screen

.class{
position: realtive;
text-align: center;
top: 50%;
transform:translateY(-50%);
}
 
PREVIOUS NEXT
Tagged: #center #div #screen
ADD COMMENT
Topic
Name
1+6 =