Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

div centre

div{
  position: absolute;
    top: 10%;
    right: 10%;
    left: 10%;
    bottom: 10%;	
    transform: translate(-50% -50%);
}
Source by localhost #
 
PREVIOUS NEXT
Tagged: #div #centre
ADD COMMENT
Topic
Name
4+6 =