Prev Demo
CSS3
>
Border-Top-Style Property
Next Demo
Write code here
J
|
B
|
A
<!DOCTYPE html> <html> <head> <title>Demo</title> </head> <body> <style> p { border:solid; } .class1 {border-top-style:dashed;} .class2 {border-top-style:double;} .class3 {border-top-style:groove;} .class4 {border-top-style:hidden;} .class5 {border-top-style:inset;} .class6 {border-top-style:none;} .class7 {border-top-style:outset;} .class8 {border-top-style:ridge;} .class9 {border-top-style:solid;} </style> <p class="class1">TechFunda with Dashed top border.</p> <p class="class2">TechFunda with Double top border. </p> <p class="class3">TechFunda with groove top border.</p> <p class="class4">TechFunda with Hidden top border.</p> <p class="class5">TechFunda with Inset top border.</p> <p class="class6">TechFunda with No top border.</p> <p class="class7">TechFunda with Outset top border.</p> <p class="class8">TechFunda with Ridge top border.</p> <p class="class9">TechFunda with Solid top border.</p> </body> </html>
Note: We DO NOT save your trial code in our database.
Output