DEV Community

AKSH DESAI
AKSH DESAI

Posted on

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

Image of Datadog

The Essential Toolkit for Front-end Developers

Take a user-centric approach to front-end monitoring that evolves alongside increasingly complex frameworks and single-page applications.

Get The Kit

Top comments (0)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs