<div class="icons">
  <span>Material icons</span>
  <span class="material-icons">face</span>
  <span class="material-icons">swipe</span>
  <span class="material-icons">alarm_add</span>
  <span class="material-icons">close</span>
  <span class="material-icons">delete</span>
</div>
<div class="icons">
  <span>Font Awesome icons</span>
  <span class="fas fa-meh"></span>
  <span class="fas fa-hand-point-up"></span>
  <span class="fas fa-bell"></span>
  <span class="fas fa-times"></span>
  <span class="fas fa-trash"></span>
</div>
.icons {
  display: flex;
  justify-content: space-around;
  align-items: center;
  font-family: sans-serif;
  height: 40vh;
}
.icons > span {
  flex:0 0 12%;
}
.material-icons {
  font-family: 'Material Icons';
  font-weight: normal;
  font-style: normal;
  font-size: 5vw;  /* Preferred icon size */
  display: inline-block;
  line-height: 1;
  text-transform: none;
  letter-spacing: normal;
  word-wrap: normal;
  white-space: nowrap;
  direction: ltr;

  /* Support for all WebKit browsers. */
  -webkit-font-smoothing: antialiased;
  /* Support for Safari and Chrome. */
  text-rendering: optimizeLegibility;

  /* Support for Firefox. */
  -moz-osx-font-smoothing: grayscale;

  /* Support for IE. */
  font-feature-settings: 'liga';
}

.fas {
  font-size: 5vw;
}

External CSS

  1. https://fonts.googleapis.com/icon?family=Material+Icons
  2. https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css

External JavaScript

This Pen doesn't use any external JavaScript resources.