.flex-container
  .block
  .block
View Compiled
.flex-container {
  display: flex;
  justify-content: space-between;
}

.block {
  flex: 0 0 300px;
  height: 100px;
  background-color: red;
  border: 1px solid black;
}
View Compiled

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.