title: Material UI: Center CardContent within Card componenet
body: <p>I'm trying to horizontally AND vertically center the CardContent within a Card component using Material UI.</p>
  
  <p>This is what I have:</p>
  
  <pre><code>const styles = {
    card: {
      maxWidth: 120,
      minHeight: 120,
      maxHeight: 120,
    },
  }
  </code></pre>
  
  <p>...</p>
  
  <pre><code>&lt;Card className={this.props.classes.card}&gt;
    &lt;CardContent&gt;
      &lt;Grid container justify="center"&gt;
        &lt;Grid item xs={12} style={{ backgroundColor: "red" }}&gt;
          &lt;Typography gutterBottom align="center" variant="title"&gt;
            Markedup123 Plan
          &lt;/Typography&gt;
        &lt;/Grid&gt;
      &lt;/Grid&gt;
    &lt;/CardContent&gt;
  &lt;/Card&gt;
  </code></pre>
  
  <p>It looks like this:
  <a href="https://i.stack.imgur.com/ELU4T.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ELU4T.png" alt="enter image description here"></a></p>
  
  <p>How do I center the CardContent horizontally and vertically?</p>
  
  <p>Here is a working example: <a href="https://codesandbox.io/s/pw90op914q" rel="nofollow noreferrer">https://codesandbox.io/s/pw90op914q</a></p>