.media-queries-component {
  white-space: nowrap;
  -webkit-user-select: none;
  user-select: none;
  width: 100%;
  height: 100%;
  position: relative;
  .ruler {
    height: 100%;
    li {
      padding: 8px;
      width: 100px;
      display: inline-block;
      position: relative;
      height: 100%;
      border-left: 1px solid rgba(0,0,0,0.05);
    }
  }

  .current-width {
    width: 1px;
    height: 100%;
    position: absolute;
    top: 0px;
    background: #00B5FF;
    z-index: 20;
  }

  .media {
    position: absolute;
    top: 30px;
    height: calc(100% - 26px);
    overflow: scroll;
    width: 100%;
    left: 0;
    li {
      margin-top: 4px;
      position: relative;
      display: block;
      width: 100%;
      height: 25px;
      background: #CCCCCC;
      border-radius: 4px;
      padding: 4px;

      .item {
        position: relative;
        width: 100%;
        height: 100%;
      }

      label {
        display: block;
        color: white;
        position: absolute;
        bottom: 3px;
        &.min {
          left: 3px;
        }
        &.max {
          right: 3px;
        }
      }
    }
  }
}

@media screen and (min-width: 100px) and (max-width: 300px) {
  * {
    color: red !important;
  }
}