Vishal Panara Vishal Panara - 1 year ago 64
CSS Question

I want to make Drop left rather then drop down

I want to make Drop left rather then drop down in bootstrap drop down button. I'm trying to make this happen but i can't able to do this, Can anyone guide me to do this?

Here is my code

<link href="" rel="stylesheet" />
<div class="col-sm-4 col-sm-offset-4">
<div class="btn-group">
<button class="btn btn-default btn-sm dropdown-toggle" type="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
Small button <span class="caret"></span>
<ul class="dropdown-menu ">
<button class="btn btn-primary">Action 1</button>
<button class="btn btn-danger">Action 2</button>
<script src=""></script>
<script src=""></script>

<script type="text/javascript">
$(function () {

Answer Source

This part of the css where there is top and left:

.dropdown-menu {
  top: -10px !important;
  left: -160% !important;
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download