When do I use border hidden and when do i have to use borde none? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

When do I use border hidden and when do i have to use borde none?

2nd Jan 2018, 1:09 PM
Hassib S
Hassib S - avatar
2 Answers
2nd Jan 2018, 2:30 PM
Calviղ
Calviղ - avatar
0
I am not sure about my answer, but you can use border hidden when you want, for example, to make a button without 90 degrees corners. Try this code, and then remove "hidden" and instead, put "solid" you will see the difference <!DOCTYPE html> <html> <head> <style> body { text-align:center; } button { border:2px hidden; border-radius:30px; } </style> <title>Page Title</title> </head> <body> <button>Test</button> </body> </html>
2nd Jan 2018, 1:34 PM
Ice
Ice - avatar