how to set color to button group by focus on one of buttons : <p>I have one button group with 5 button, I need to set color to button group with focus on one of theme, for example if I hover on third button I need change first there will be change color, I try to do it with this button group code : </p>

<pre><code>&lt;div class="btn-group"&gt;
     &lt;button type="button" class="btn btn-default"&gt;&lt;i class="far fa-star"&gt;&lt;/i&gt;&lt;/button&gt;
     &lt;button type="button" class="btn btn-default"&gt;&lt;i class="far fa-star"&gt;&lt;/i&gt;&lt;/button&gt;
     &lt;button type="button" class="btn btn-default"&gt;&lt;i class="far fa-star"&gt;&lt;/i&gt;&lt;/button&gt;
     &lt;button type="button" class="btn btn-default"&gt;&lt;i class="far fa-star"&gt;&lt;/i&gt;&lt;/button&gt;
     &lt;button type="button" class="btn btn-default"&gt;&lt;i class="far fa-star"&gt;&lt;/i&gt;&lt;/button&gt;
&lt;/div&gt;
</code></pre>
