html - Force flex item on a single line - Stack Overflow

PHOTO EMBED

Sun Jul 17 2022 13:47:23 GMT+0000 (Coordinated Universal Time)

Saved by @oday #css

.flexbox {
  display: flex;
  margin:10px;
}
.red {
  background: red;
}   
.blue {
  background: blue;
  flex-shrink:0;
}
content_copyCOPY

https://stackoverflow.com/questions/49447242/force-flex-item-on-a-single-line