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;
}
Source by www.w3.org #
 
PREVIOUS NEXT
Tagged: #align #items #center
ADD COMMENT
Topic
Name
4+7 =