title: Styling links syntax for 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>.button a:link {
    color: blue;
  }
  
  .button a:visited {
    color: purple;
  }
  
  .button a:hover {
    color: red;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;div class="btn-group"&gt;
    &lt;a href="#a"&gt;&lt;button&gt;Cambridgeshire&lt;/button&gt;&lt;/a&gt;
    &lt;a href="#b"&gt;&lt;button&gt;Cornwall&lt;/button&gt;&lt;/a&gt;
    &lt;a href="#c"&gt;&lt;button&gt;Cumbria&lt;/button&gt;&lt;/a&gt;
    &lt;a href="#d"&gt;&lt;button&gt;Derbyshire&lt;/button&gt;&lt;/a&gt;
    &lt;a href="#e"&gt;&lt;button&gt;Devon&lt;/button&gt;&lt;/a&gt;
  &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>
  <p>The links do not change color when selected. I have also tried:
  <code>btn-group a:link {color:blue}</code> etc. but again that wording doesn't work.
  What wording should I use?</p>