How to call another class on hover in CSS?
<p>The class of DIV is FIRST. I want to call class SECOND on hover. How can I do this?</p>

<p>I am using following code:</p>

<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>.first{
background:#F00;
}
.second{
background: #0F0;
}</code></pre>
<pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;div class="first"&gt; This is DIV&lt;/div&gt;</code></pre>
</div>
</div>
</p>