Pure CSS Right-Hand Slide-out Interface on Click
<p>I'm trying to create a right-hand tab/slider using only CSS, NO Javascript of any kind.  My initial work was based on the example code found here: <a href="http://usabilitypost.com/2011/04/19/pure-css-slideout-interface/" rel="nofollow" title="Pure CSS Slide-out Interface">Pure CSS Slide-out Interface</a>  The only problem, it's based on hover which is no good for small media devices. I'm trying to recode it to work via clicks instead.  I'm close but it's not playing nice yet.  Any ideas?</p>

<p>CSS</p>

<pre><code>&lt;style&gt;
    #slideout {
        /* position: absolute; */
        position: fixed;
        top: 100px;
        right: 0;
        width: 35px;
        padding: 12px 0;
        text-align: center;
        background: #6DAD53;
        color: #fff;
        cursor:pointer;
        -webkit-transition-duration: 0.3s;
        -moz-transition-duration: 0.3s;
        -o-transition-duration: 0.3s;
        transition-duration: 0.3s;
        -webkit-border-radius: 5px 0 0 5px;
        -moz-border-radius: 5px 0 0 5px;
        border-radius: 5px 0 0 5px;
    }
    #slideout_inner {
        position: fixed;
        top: 100px;
        right: -250px;
        background: #6DAD53;
        width: 200px;
        padding: 25px;
        height: 130px;
        cursor:auto;
        -webkit-transition-duration: 0.3s;
        -moz-transition-duration: 0.3s;
        -o-transition-duration: 0.3s;
        transition-duration: 0.3s;
        -webkit-border-radius: 0 0 0 5px;
        -moz-border-radius: 0 0 0 5px;
        border-radius: 0 0 0 5px;
    }
    #slideout_inner textarea {
        width: 190px;
        height: 100px;
        margin-bottom: 6px;
    }
    #showblock:checked + #slideout{right: 250px;}
    #showblock{display:none;}
&lt;/style&gt;
</code></pre>

<p>HTML</p>

<pre><code>&lt;link href="//maxcdn.bootstrapcdn.com/font-awesome/4.6.3/css/font-awesome.min.css" rel="stylesheet" charset="utf-8"&gt;
&lt;div id="slideout"&gt;
    &lt;input type="checkbox" id="showblock"&gt;
    &lt;label id="slideout_tab" for="showblock" title="Admin Slider"&gt;
        &lt;i class="fa fa-cogs fa-spin"&gt;&lt;/i&gt;
    &lt;/label&gt;
    &lt;div id="slideout_inner"&gt;
        &lt;form&gt;
            &lt;textarea&gt;&lt;/textarea&gt;
            &lt;input type="submit" value="Post feedback"&gt;&lt;/input&gt;
        &lt;/form&gt;
    &lt;/div&gt;
&lt;/div&gt;
</code></pre>

<p><a href="https://jsfiddle.net/tLoeruz6/" rel="nofollow">jsfiddle</a></p>