Add this CSS:
li.open > a > span{ border-top: 0px !important; border-bottom: 4px dashed !important; }
It will display your range (which is basically an up or down arrow) when the list opens, i.e. when it contains the .open class. Then it will change the css scroll definition and rotate the arrow.
Output:
li.open > a > span { border-top: 0px !important; border-bottom: 4px dashed !important; }
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script> <script src="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/js/bootstrap.min.js"></script> <link href="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css" rel="stylesheet" /> <li class="dropdown"> <a href="#" style="text-decoration: none" class="dropdown-toggle" data-toggle="dropdown">Dropdown <span class="caret"></span> </a> <ul class="dropdown-menu"> <li><a href="#">Menu1</a> </li> <li><a href="#">Menu2</a> </li> <li><a href="#">Menu3</a> </li> </ul> </li>
source share