Topic: CSS Basics

Flexbox – CSS

Preview

To enable flexbox, add the display property with a value of flex to the parent element:

.flex-container {
  display: flex;
}

To view the full tutorial, sign up for a free trial on our Sign Up page.