 <p>Update your selector to <code>element+element</code> selector as follows:</p> <pre><code>#wrapper button:active+#test { width: 0px; } </code></pre> <p><a href="http://jsfiddle.net/f3NeA/8/" rel="nofollow">http://jsfiddle.net/f3NeA/8/</a></p>