html - How can I render the triangle outside the container element? -


i'm trying build menu css. when li element has class of active, want triangle (of specific size) appear next container. please see following http://jsfiddle.net/hcabnettek/meczj/

as increase left property, arrow goes end of container, slides behind it. tried z-index , various other things can't seem figure out.

any appreciated. all!

<nav>     <ul class="nav main-nav">         <li  class="active">             <a href="/home">                 <i class="icon-home"></i>                 <h6>home</h6>                 <div class="items"></div>             </a>         </li>     </ul> </nav> 

make li set overflow: visible. should fix problem. if not, check ul, has set width, set overflow: visible.


Comments

Popular posts from this blog

monitor web browser programmatically in Android? -

Shrink a YouTube video to responsive width -

wpf - PdfWriter.GetInstance throws System.NullReferenceException -