title: Adding a dropdown arrow or triangle beside first button
body: <p>In the below navigation bar </p>
  
  <p><a href="https://codepen.io/shaswat/pen/XzpRXL" rel="nofollow noreferrer">https://codepen.io/shaswat/pen/XzpRXL</a></p>
  
  <p>how to create a down triangle or down-arrow beside home and when hover on home the triangle or arrow  should convert to upside . </p>
  
  <ol>
  <li><p>cant change any html(input type , value etc) but you can add some element that should not break the navigation bar how its looking now</p></li>
  <li><p>no bootstrap</p></li>
  </ol>
  
  <p>HTML</p>
  
  <pre><code>&lt;div id='cssmenu'&gt;
  &lt;ul&gt;
     &lt;li &gt;&lt;input type=submit value=home&gt;
       &lt;ul&gt;
           &lt;li&gt;&lt;input type=submit value=home1 /&gt;&lt;/li&gt;
           &lt;li&gt;&lt;input type=submit value=home2 /&gt;&lt;/li&gt;
           &lt;li&gt;&lt;input type=submit value=home3 /&gt;&lt;/li&gt;
        &lt;/ul&gt;
  
  
     &lt;/li&gt;
     &lt;li&gt;&lt;input type=submit value=products class=active /&gt;
  
     &lt;/li&gt;
     &lt;li&gt;&lt;input type=submit value=about /&gt;
     &lt;/li&gt;
     &lt;li&gt;&lt;input type=submit value=Contact /&gt;&lt;/li&gt;
  &lt;/ul&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>CSS</p>
  
  <pre><code>#cssmenu &gt; ul ul input{
    border-top: 1px solid;  
  }
  #cssmenu input {
    padding: 0;
    border-right: 1px solid;
    border-top: none;
    border-bottom: none;
    border-left: none;
    background: none;
      border-radius : 0px 5px 0px 0px;
  }
  /* Menu CSS */#cssmenu,
  #cssmenu &gt; ul {
    background: black;  
    padding-bottom: 3px; 
    border-radius: 5px 5px 5px 5px;
  }
  #cssmenu:before,
  #cssmenu:after,
  #cssmenu &gt; ul:before,
  #cssmenu &gt; ul:after {
    content: "";
    display: table;
    box-sizing: border-box;
  }
  #cssmenu:after,
  #cssmenu &gt; ul:after {
    clear: both;
  }
  #cssmenu {
    width: auto;
    zoom: 1;
  }
  #cssmenu &gt; ul {
    background: blue;
    margin: 0;
    padding: 0;
    position: relative;
  }
  #cssmenu &gt; ul li {
    margin: 0;
    padding: 0;
    list-style: none;
  }
  #cssmenu &gt; ul &gt; li {
    float: left;
    position: relative;
  }
  #cssmenu &gt; ul &gt; li &gt; input {
    padding: 12px 25px;
    display: block;
    color: white;
    font-size: 13px;
    text-decoration: none;  
    text-shadow: 0 -1px 0 #0d0d0d;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.7);
  
  }
  #cssmenu &gt; ul &gt; li:hover &gt; input {
    background: red;
    -webkit-transition: all 0.40s ease-in-out;
    -moz-transition: all 0.40s ease-in-out;
    -ms-transition: all 0.40s ease-in-out;
    transition: all 0.40s ease-in-out;
  }
  
  #cssmenu &gt; ul &gt; li.active &gt; input,
  #cssmenu &gt; ul &gt; li &gt; input.active {
    background: black;
    color:#fff;
  }
  /* Childs */
  #cssmenu &gt; ul ul {
    opacity: 0;
    visibility: hidden;
    position: absolute;
    top: 40px;
    background: green;
    margin: 0;
    padding: 0;
    z-index: -1;
    box-shadow: 5px 5px 5px #808080;
  }
  #cssmenu &gt; ul li:hover ul {
    opacity: 1;
    visibility: visible;
    margin: 0;
    color: #fff;
    z-index: 2;
    top: 40px;
    left: 0;
  }
  
  #cssmenu &gt; ul ul li {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
  }
  #cssmenu &gt; ul ul li input {
    padding: 12px ;
    display: block;
    color: white;
    font-size: 14px;
    text-decoration: none;
    width: 150px;
    border-left: 4px solid transparent;
    -webkit-transition: all 0.30s ease-in-out;
    -moz-transition: all 0.30s ease-in-out;
    -ms-transition: all 0.30s ease-in-out;
    transition: all 0.30s ease-in-out;
  }
  #cssmenu &gt; ul ul li input:hover {
    border-left: 10px solid #d64e34;
    background: grey;
  }
  #cssmenu &gt; ul ul li input:active {
    background: green;
  }
  </code></pre>