Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

center anything horizontally and vertically in CSS

.center {
  display: flex;
  align-items: center;
  justify-content: center;       
}
Source by markodenic.com #
 
PREVIOUS NEXT
Tagged: #center #horizontally #vertically #CSS
ADD COMMENT
Topic
Name
3+4 =