title: How do i keep a clicked navigation button highlighted in css?
body: <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-css lang-css prettyprint-override"><code>.message-show {
    display: inline;
    font-weight: 500;
    font-size: 15px;
  }
  
  .product-list {
    border: 1px solid #b1b8c9;
    color: $color-grey-light;
    font-size: 14px;
    display: inline-block;
    margin-right: 8px;
    padding: 5px 20px;
    border-radius: 4px;
    background-color: #ffffff;
    margin-top: 10px;
    cursor: pointer;
    &amp;:hover {
      background-color: $color-safron;
      color: #ffffff;
    }
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;ul class="message-show"&gt;
  
    &lt;li v-on:click="displayMsg" @click="getPartingCharges('4')" :class="{ activeListItem }" class="product-list"&gt;5-10 &lt;/li&gt;
  
    &lt;li v-on:click="displayMessage" @click="getPartingCharges('10-22')" :class="{  active: isActiveClass,}" class="product-list"&gt;10-22 &lt;/li&gt;
  
    &lt;li v-on:click="displayMessage" @click="getPartingCharges('22-27')" :class="{  active: isActiveClass, }" class="product-list"&gt;22-27&lt;/li&gt;
  
  
  
  &lt;/ul&gt;</code></pre>
  </div>
  </div>
  </p>
  <p>I have 3 buttons, like a,b,c. So On clicking of every button i need to show the blue color highlighted and stay over there.</p>
  <p>and when if user press different button, then color highlight need to move.</p>