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 an element in css
.container
{
display
:
bock
;
width
:
fit-content
;
margin
:
auto
;
}
PREVIOUS
NEXT
Tagged:
#center
#element
#css
ADD COMMENT
Topic
COMMENT
Name
3+5 =
Submit