Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

how to center an element in css

.element {
  position: absoloute;
  margin: auto;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
}
 
PREVIOUS NEXT
Tagged: #center #element #css
ADD COMMENT
Topic
Name
1+5 =