CSS Outline

Just like the CSS border property, the CSS Outline is used to render an additional border around an element to gain visual attention. Example: <!DOCTYPE html> <html> <head> <style> p { border: 5px solid black; outline: red solid 15px; margin-top: 30px; padding: 20px; text-align: center; } </style> </head> <body> <p>Hello World!!</p> </body> </html> Explanation: In … Read more