Answers for "button text center css"

2

how to align the text center in button

text-align:'center'
Posted by: Guest on September-14-2021
2

how to right align a text button

.flex-box {
  display:flex;
  justify-content:space-between; //button with flex box
  outline: 2px dashed blue;
}

.flex-box-2 {
  display:flex;
  justify-content: flex-end;
  outline: 2px deeppink dashed;
}
Posted by: Guest on May-04-2020
0

how to align button in center using css

If the button is inside a div, put text align to center for the div
Posted by: Guest on October-11-2021

Browse Popular Code Answers by Language