DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR CSS
how center div in css
.center
{
position
:
fixed
;
top
:
50
%
;
left
:
50
%
;
transform
:
translate
(
-50
%
,
-50
%
)
;
}
Source by localhost #
PREVIOUS
NEXT
Tagged:
#center
#div
#css
ADD COMMENT
Topic
COMMENT
Name
7+2 =
Submit