Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

centre div

<div class="container">
  <div class="child"></div>
</div>
.container {
  ...
  display: flex;
  justify-content: center;
  align-items: center;
}
 
PREVIOUS NEXT
Tagged: #centre #div
ADD COMMENT
Topic
Name
1+5 =