Home
CSS
CSS Borders
Border Shorthand
Tryit: The border-bottom property
Run ❯
Get your
own
website
Result Size:
625 x 534
×
Change Orientation
Save Code
Change Theme, Dark/Light
Go to Spaces
<!DOCTYPE html> <html> <head> <style> p { border-bottom: 6px solid red; background-color: lightgrey; } </style> </head> <body> <h2>The border-bottom Property</h2> <p>This property is a shorthand property for border-bottom-width, border-bottom-style, and border-bottom-color.</p> </body> </html>