Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

what does align items center do

div{
  display:flex;
  
  /*The flexbox items are aligned at the center of the cross axis.
  (vertical align) ⬇️⬆️*/
  align-items:center;
  
  /* The flexbox items are aligned at the center hirozontally ⬅️➡️*/
  justify-content:center;
}
 
PREVIOUS NEXT
Tagged: #align #items #center
ADD COMMENT
Topic
Name
1+8 =