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 this and the other 300+ tutorials on Simple Dev, sign up for a 10-day free trial.