Radius border | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Radius border

Hi dear friends, greetings, I have recently designed a login form and used radius border for input types when click on it the second rectangular border appear with it, I am new with CSS kindly help me how to remove the rectangular border at every corner. https://code.sololearn.com/WCrM17M54uMR/?ref=app

28th Apr 2020, 3:33 PM
Moh Waleed Sharifi
1 Answer
+ 3
Like ‏‏‎ ‎Satnam wrote, you have to remove the outline. But you should put it in your input:focus selector. .box input[type="text"]:focus , .box input[type="password"]:focus { border: 2px solid #2ecc81; width: 280px; outline: none; }
28th Apr 2020, 9:13 PM
yochanan sheinberger
yochanan sheinberger - avatar