Search
 
SCRIPT & CODE EXAMPLE
 

JAVA

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
Java :: how to make background image transparent in android studio 
Java :: spigot heal player 
Java :: How to efficiently count the number of smaller elements to the right of every array element, in Java? 
Java :: k combinations for range 1 through n 
Java :: java array kürzen 
Java :: java get location of jar file 
Java :: java new string array 
Java :: java check if sql table exists 
Java :: java jshell run string as code 
Java :: plus one java 
Java :: append to file in java 
Java :: .tar to .ova 
Java :: A failure occurred while executing com.android.build.gradle.tasks.ProcessLibraryManifest$ProcessLibWorkAction 
Java :: java get last element of list 
Java :: HOW TO SUPRESS sonar warning in java code 
Java :: How to efficiently find the middle node of a singly linked list without counting its nodes, in Java? 
Java :: spring xml 
Java :: button color xml android 
Java :: java array copy 
Java :: border bottom android xml 
Java :: check if object in array java 
Java :: error: package androidx.multidex does not exist 
Java :: java how to get current time 
Java :: append button jframe 
Java :: java int length 
Java :: Unable to find bundled Java version. 
Java :: java for loop 
Java :: how to get only current date in java android studio 
Java :: how to create a random number in java 
Java :: how to find a number in a string java 
ADD CONTENT
Topic
Content
Source link
Name
7+9 =