Search
 
SCRIPT & CODE EXAMPLE
 

HTML

Bootstrap 4 Navbar Dropdown Menu Items Right

Bootstrap 5 (update 2021)

Use the dropdown-menu-end class on the dropdown-menu to align the items inside the menu right..

    <div class="dropdown-menu dropdown-menu-end">
        <a class="dropdown-item" href="#">Link</a>
        <a class="dropdown-item" href="#">Link</a>
        <a class="dropdown-item" href="#">Link</a>
    </div>
https://codeply.com/p/kWLLKdjdpC

Bootstrap 4 (original answer)

Use the dropdown-menu-right class to align the items inside the menu right..

    <div class="dropdown-menu dropdown-menu-right text-right">
        <a class="dropdown-item" href="#">Link</a>
        <a class="dropdown-item" href="#">Link</a>
        <a class="dropdown-item" href="#">Link</a>
    </div>
http://codeply.com/go/6Mf9aK0P8G
Comment

Bootstrap 4 Navbar Dropdown Menu Items Right

    <div class="dropdown-menu dropdown-menu-end">
        <a class="dropdown-item" href="#">Link</a>
        <a class="dropdown-item" href="#">Link</a>
        <a class="dropdown-item" href="#">Link</a>
    </div>
Comment

PREVIOUS NEXT
Code Example
Html :: auto update copyright year html 
Html :: commenting in html 
Html :: meta theme color 
Html :: html estrutura 
Html :: source sans pro html code 
Html :: free books 
Html :: set icon for html page tab 
Html :: how to link a local css file in html 
Html :: html description tag 
Html :: select in vee validate 
Html :: font myriad pro html 
Html :: html meta charset content ie edge 
Html :: bootstrap datepicker format dd-mm-yyyy 
Html :: dont show suggestions in input hs 
Html :: regex to select everything in a html tag 
Html :: This request has been blocked; the content must be served over HTTPS. 
Html :: wave symbol 
Html :: centralizing to the middle of the screen with bootstrap 5 
Html :: how to add placeholder in type date 
Html :: laravel murakkab old 
Html :: jsf axonivy sub component 
Html :: redo of healer season 3 
Html :: Window yes no decision alert 
Html :: laser full form 
Html :: bootstrap Badges Contextual variations 
Html :: html checkbox checked 
Html :: mobvoi.com 
Html :: coc allow comments in json 
Html :: how to make a link in html that opens in a new tab 
Html :: How to set background color without body tag html 
ADD CONTENT
Topic
Content
Source link
Name
4+5 =