title: Set column width to content length in CSS Grid
body: <p>I looked at the documentation but did not find such property.
  I want to fit all cells in one column to its content width using css grid.</p>
  
  <p>For the first case I should apply this property for the container: <code>grid-template-columns: auto auto;</code></p>
  
  <p>But what should I do for the second case?</p>
  
  <p><a href="https://i.stack.imgur.com/JQPkG.jpg" rel="noreferrer"><img src="https://i.stack.imgur.com/JQPkG.jpg" alt="enter image description here"></a></p>