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