<!DOCTYPE html><html><head><style>
* {
  border: 1px solid black !important;
}
.grid {
  float: left;
  display: grid;
  grid-template-columns: min-content minmax(0, auto);
}
.whee {
  background: pink;
}
.yeehaw {
  background: lightskyblue;
}
</style></head><body><div class="grid"><div class="whee">whee</div><div class="yeehaw">yeehaw</div>