DEV Community

AKSH DESAI
AKSH DESAI

Posted on

CSS Border

5. 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>
    * {
      /* border: solid blue; */
      /* margin: 0; */
    }

    h1 {
      border-width: 10px;
      border-style: outset double double groove;
      border-color: purple;

      border-block: 3px solid red;
      border-block-end: 4px solid white;
    }
  </style>
  </head>

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

    <p> Lorem ipsum dolor sit amet consectetur adipisicing elit. Error, nemo?
    </p>

    <p> Lorem ipsum dolor sit amet consectetur adipisicing elit. Error, nemo?
    </p>
  </body>

</html>
Enter fullscreen mode Exit fullscreen mode

Output
Output

Thank You.
You can follow us on:
Youtube
Instagram

Top comments (0)