Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

css center

// example 1 
div { display: grid; place-items: center; }

// example 3
div{ display:flex; align-items:center; }

// example 3
div { width: 100%; margin: 0 auto; }
 
PREVIOUS NEXT
Tagged: #css #center
ADD COMMENT
Topic
Name
4+6 =