DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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
COMMENT
Name
9+5 =
Submit