Here is the current state of my HTML and CSS code:
<div class="header">
<div class="container-fluid">
<div class="row">
<div class="col-1"></div>
<div class="col-10"></div>
<div class="col-1 dropdown">
<button class="btn" type="button" id="dropdownMenuButton" data-toggle="dropdown" aria-haspopup="true"
aria-expanded="false">
Menu
<i class="fa fa-bars"></i>
</button>
<div class="dropdown-menu">
<a class="dropdown-item" href="#">About </a>
<a class="dropdown-item" href="#">Education</a>
<a class="dropdown-item" href="#">Hobbies</a>
<a class="dropdown-item" href="#">Contact</a>
</div>
</div>
</div>
</div>
.header{
position: relative;
top: 20px;
}
.dropdown-menu {
min-width: 120px !important;
height: 145px !important;
position: relative;
right: 0;
}
body {
background-color: lightblue;
}
I am looking to shift the dropdown menu to the right instead of the left like in this image, but currently, it appears as in this image.