CSS Outline

akshdesai1

AKSH DESAI

Posted on March 16, 2023

CSS Outline

6. Code

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

<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>

  <style>
    * {
      color: white;
      background-color: rgb(41, 40, 40);
      margin: 0;
      font-size: 50px;
    }

    p {
      border: 3px solid red;
      outline: 5px double green;
      outline-offset: 3px;
    }
  </style>
</head>


<body>
  <h1> Yahoo Baba Css Outline </h1>

  <p> Lorem ipsum dolor sit, amet consectetur adipisicing elit. Possimus, facilis. </p>

  <br>
  <p> Lorem ipsum dolor sit amet consectetur adipisicing elit. Ad, magni. </p>
</body>

</html>
Enter fullscreen mode Exit fullscreen mode

Output
Output

Thank You.
You can follow us on:
Youtube
Instagram

💖 💪 🙅 🚩
akshdesai1
AKSH DESAI

Posted on March 16, 2023

Join Our Newsletter. No Spam, Only the good stuff.

Sign up to receive the latest update from our blog.

Related

CSS Outline
beginners CSS Outline

March 16, 2023

Getting to know CSS specificity
beginners Getting to know CSS specificity

November 20, 2022

Segundo projeto 2/52
beginners Segundo projeto 2/52

March 6, 2022

The importance of the basics...
beginners The importance of the basics...

February 9, 2022