How To Center a Button in a DIV Element

PHOTO EMBED

Wed Jun 23 2021 12:18:05 GMT+0000 (UTC)

Saved by @joannpav #css

.center {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 200px;
  border: 3px solid green;
}
content_copyCOPY

https://www.w3schools.com/howto/howto_css_center_button.asp