title: Move an element by clicking on a link with pure CSS
body: <p>Is it possible to affect one element by another element? I want to move <code>.box</code> element when I click on the link <code>a.link</code>.</p>
  
  <p>I tried this, But couldn't get it to work. What should I write at <code>link:active</code>?</p>
  
  <pre><code>&lt;html&gt;
  &lt;head&gt;
  &lt;style&gt;
  
  .box
  {
      height:100px;
      width:200px;
      border:solid red 5px;   
  }
  
  .link:hover
  {
      color:red;
  }
  
  .link:active
   {
      color:grey;
   }
  &lt;/style&gt;
  &lt;/head&gt;
  
  &lt;body&gt;
     &lt;a href="#" class=link &gt;CLICK ME&lt;/a&gt;
     &lt;div class=box&gt;&lt;/div&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>