DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR CSS
center a div on screen
.class{ position: realtive; text-align: center; top: 50%; transform:translateY(-50%); }
PREVIOUS
NEXT
Tagged:
#center
#div
#screen
ADD COMMENT
Topic
COMMENT
Name
1+6 =
Submit