+ 1

Aligning Input Boxes

I wanna align my input box into the center but I'm unable to do that. Please help me with that ... Create a code regarding that and send in comments please. The link of my code in which i can't align is below. https://code.sololearn.com/WdOb2Dce3XPw/?ref=app

2nd Oct 2020, 12:29 PM
simple boii
simple boii - avatar
2 Réponses
+ 1
<center class="div1"><input class="username" type="text" required placeholder="username" </center>
2nd Oct 2020, 1:20 PM
JaScript
JaScript - avatar
+ 1
text-align:center;
2nd Oct 2020, 12:36 PM
Abhay
Abhay - avatar