Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

center a fixed div horizontally

left: 50%;
transform: translateX(-50%);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #center #fixed #div #horizontally
ADD COMMENT
Topic
Name
5+1 =