6 Program to demonstrate Outline in CSS

Program:

<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <title>CSS OUTLINE</title>
    <style>
        body {
            outline-style: double;
            outline-width: medium;
            font-family: "Comic Sans MS", sans-serif;
            outline-color: blue;
            
        }
    </style>

</head>

<body>
    <!-- CSS Outline Example -->
    <p>CSS Outline Example</p>

</body>

</html>
    

Output:

Outline in CSS



Previous
Next Post »