Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

how to center an element in css

.container{
  display:bock;
  width:fit-content;
  margin:auto;
}
 
PREVIOUS NEXT
Tagged: #center #element #css
ADD COMMENT
Topic
Name
6+2 =