ShapeYourPath
(current)
Run Code
Live Code Editor- CSS Border Short Hand Property
Source Code
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <meta name="description" content=""> <title>CSS Border Short Hand Property</title> <style type="text/css"> p.example { border: 5px solid #00fff0; } </style> </head> <body> <h1 class="my-4">CSS Border Short Hand Property</h1> <p class="example my-3"> In this example you will learn about CSS border shorthand property that is applied to the paragraph element. </p> </body> </html>
Output :
Running