Note that there are some explanatory texts on larger screens.

plurals
  1. PORemove textarea's box shadow on bottom only
    primarykey
    data
    text
    <p>This is what I currently have:</p> <p><img src="https://i.stack.imgur.com/gWqbc.png" alt="http://i.imgur.com/ZENupsr.png"></p> <p>What I'm trying to do is remove the bottom box-shadow of the textarea (the one just above the B, I, and U) so that it ends up looking like this:</p> <p><img src="https://i.stack.imgur.com/nFQhr.png" alt="enter image description here"></p> <p>Here's the JSFiddle: <a href="http://jsfiddle.net/MgcDU/7616/" rel="nofollow noreferrer">http://jsfiddle.net/MgcDU/7616/</a></p> <p>HTML:</p> <pre><code>&lt;div class="editor span4"&gt; &lt;textarea class="span4"&gt;&lt;/textarea&gt; &lt;ul class="format-post"&gt; &lt;li&gt;&lt;b&gt;B&lt;/b&gt;&lt;/li&gt; &lt;li&gt;&lt;i&gt;I&lt;/i&gt;&lt;/li&gt; &lt;li&gt;&lt;u&gt;U&lt;/u&gt;&lt;/li&gt; &lt;/ul&gt; &lt;/div&gt; </code></pre> <p>CSS:</p> <pre><code>@import url('http://getbootstrap.com/2.3.2/assets/css/bootstrap.css'); body { margin: 10px; } textarea { border-radius: 2px 2px 0 0; border-bottom-color: #eee; } textarea:focus { border-bottom-color: #eeeeee; } textarea:focus + .format-post { border-color: rgba(82, 168, 236, 0.8); box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 7px rgba(82, 168, 236, 0.6); transition: border 0.2s linear 0s, box-shadow 0.2s linear 0s; } .format-post { list-style: none; background: #fafafa; height: 35px; border: 1px solid #cccccc; border-top: 0; border-radius: 0 0 2px 2px; margin: 0; margin-top: -10px; } .format-post li { width: 35px; height: 35px; border-right: 1px solid #eee; text-align: center; line-height: 33px; font-size: 14px; color: #333; cursor: pointer; display: inline-block; } </code></pre> <p>Please help.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload