Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

center text horizontally and vertically inside a div in css

.parent{ 
  display: grid;
  place-items: center;
}
 
PREVIOUS NEXT
Tagged: #center #text #horizontally #vertically #div #css
ADD COMMENT
Topic
Name
4+3 =