DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR CSS
how to center vertically and horizontally in css
.<your-outer-div> { display: flex; justify-content: center; align-items: center; }
Source by programmersportal.com #
PREVIOUS
NEXT
Tagged:
#center
#vertically
#horizontally
#css
ADD COMMENT
Topic
COMMENT
Name
2+1 =
Submit