Answers for "bulma align vertical center"

1

bulma align image vertical center in column

// to vertically center an image with bulma
// add .content and .is-vcentered to a div tag and apply the following css

.content.is-vcentered {
  display: flex;
  flex-wrap: wrap;
  align-content: center; /* used this for multiple child */
  align-items: center; /* if an only child */
}
Posted by: Guest on May-05-2021

Browse Popular Code Answers by Language