What is the effect of this CSS attribute? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 4

What is the effect of this CSS attribute?

outline: none;

28th Sep 2020, 9:55 AM
Dzikamayi Mhete
Dzikamayi Mhete - avatar
5 Answers
+ 3
<!DOCTYPE html> <html> <head> <title>example</title> <style> input{ border:solid #00ffff; border-radius:32px; Outline:none; } </style> </head> <body> <input type="text"> </body> </html> Remove outline none then you understand properly Don't forgot to click on input then you understand what's the use of outline none
28th Sep 2020, 10:02 AM
Coder Kay
Coder Kay - avatar
+ 3
<!DOCTYPE html> <html> <head> <title>example</title> <style> input{ border:solid #00ffff; border-radius:32px; } </style> </head> <body> <input type="text"> </body> </html> Without outline none run this code You can easily understand man Don't forgot to click on input then you understand what's the use of outline none
28th Sep 2020, 10:11 AM
Coder Kay
Coder Kay - avatar
+ 3
Thanks a lot bro 👊👊👊 Now I understand
28th Sep 2020, 10:16 AM
Dzikamayi Mhete
Dzikamayi Mhete - avatar
+ 2
@Kay so what does it do??? I am not getting it
28th Sep 2020, 10:05 AM
Dzikamayi Mhete
Dzikamayi Mhete - avatar
+ 2
It removes the highlight effect of your container
31st Jan 2021, 10:19 AM
Dzikamayi Mhete
Dzikamayi Mhete - avatar