Answers for "center input forms css"

CSS
1

center an input css

input {  
  display: block;
  margin-right: auto;
  margin-left: auto;
}
Posted by: Guest on April-10-2022
2

how to center a text input in css

input {
text-align: center;
}
Posted by: Guest on July-25-2021

Browse Popular Code Answers by Language