how to add button next to a text in a modal header using bootstrap

前端 未结 3 382
轻奢々
轻奢々 2021-01-26 17:25

I have this modal header and wish to add the \"download\" button to the right of the text \"Optimize data\". Here is my code for the same but everytime it aligns to the below of

3条回答
  •  猫巷女王i
    2021-01-26 18:00

    The modal-header in Bootstrap 4 is display:flex. Use ml-auto to push the button to the right...

    
    

    https://www.codeply.com/go/qPMA41arJV

提交回复
热议问题