Answers for "css put input field in middle of box"

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

Code answers related to "css put input field in middle of box"

Browse Popular Code Answers by Language