DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR CSS
center a fixed div horizontally
left
:
50
%
;
transform
:
translateX
(
-50
%
)
;
PREVIOUS
NEXT
Tagged:
#center
#fixed
#div
#horizontally
ADD COMMENT
Topic
COMMENT
Name
5+3 =
Submit