title: Aligning Text and Icon in the center of box in Bootstrap
body: <p>I am trying to align the text and icons, which are in a box, to the center of it. I want it centered like this:</p>
  
  <p><a href="https://i.stack.imgur.com/zKtfE.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/zKtfE.png" alt="enter image description here"></a></p>
  
  <p>I tried the following: 
  adding  align-content: center and justify-content: center as an inline style in the div tag for row, but no luck.  Any helps or leads are appreciated.  I have provided a jsfiddle link to show you what I have now. As of now, all the content is left. </p>
  
  <p><a href="https://jsfiddle.net/silosc/76ktyveu/4/" rel="nofollow noreferrer">https://jsfiddle.net/silosc/76ktyveu/4/</a></p>
  
  <pre><code>&lt;div class="row" style="width:100%"&gt;
      &lt;div class="report-card-i report-card-i-height"&gt;
          &lt;h3 class="m-l-35 p-t-25 p-b-10"&gt;Stats&lt;/h3&gt;
          &lt;div class="fa-orange m-t-10 m-b-15"&gt;
              &lt;div class="row"&gt;
                  &lt;div class="col-sm-3 col-xs-3"&gt;
                      &lt;i class="fa fa-star m-r-15"&gt;Stat1&lt;/i&gt;
                  &lt;/div&gt;
  
                  &lt;div class="col-sm-2 col-xs-3"&gt;
                      &lt;i class="fa fa-angle-right"&gt;&lt;/i&gt;
                  &lt;/div&gt;
              &lt;/div&gt;
              &lt;br /&gt;
              &lt;div class="row"&gt;
                  &lt;div class="col-sm-3 col-xs-3"&gt;
                      &lt;i class="fa fa-star m-r-15"&gt;Stat2&lt;/i&gt;
                  &lt;/div&gt;
  
                  &lt;div class="col-sm-2 col-xs-3"&gt;
                      &lt;i class="fa fa-angle-right"&gt;&lt;/i&gt;
                  &lt;/div&gt;
              &lt;/div&gt;
              &lt;br /&gt;
              &lt;div class="row"&gt;
                  &lt;div class="col-sm-3 col-xs-3"&gt;
                      &lt;i class="fa fa-star m-r-15"&gt;Stat3&lt;/i&gt;
                  &lt;/div&gt;
  
                  &lt;div class="col-sm-2 col-xs-3"&gt;
                      &lt;i class="fa fa-angle-right"&gt;&lt;/i&gt;
                  &lt;/div&gt;
              &lt;/div&gt;
          &lt;/div&gt;
      &lt;/div&gt;
  &lt;/div&gt;
  
  &lt;style&gt;
     .report-card-i{
      background: orange;
      box-shadow: 2px 2px 10px 4px rgba(0, 0, 0, 0.2);
      position: relative;
      margin-top: 30px;
  }
  
   .report-card-i-height {
      min-height: 280px;
      height: auto;
      width: 100%;
          }
  
  .report-name {
      font-family: Questrial;
      font-weight: bold;
      color: #f0522f !important;
          }
  &lt;/style&gt;
  </code></pre>