HTML CSS examples for CSS Widget:Border Style
Create a border inserted into an element, leaving a margin
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <style id="compiled-css" type="text/css"> #border { width: 200px; height: 100px; background: brown; padding: 10px; color: orange; border-top: 10px brown solid; box-shadow: inset 0 5px orange;<!--from www .ja v a 2 s. com--> } </style> </head> <body> <div id="border"> Some text </div> </body> </html>