title: How can i create CSS Border like this?
body: <p><a href="https://i.stack.imgur.com/FYX83.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/FYX83.png" alt="enter image description here"></a></p>
  
  <p>We have a new project and my company hired a designer. The division in his design uses a bottom border like the image, I can only recreate the dark line using linear gradient, but my worry is the white glow in the center of it. Thanks in advance</p>
  
  <p>Edited 
  Here's my current code for the border below (without the glowing section)</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;!DOCTYPE html&gt;
  &lt;html lang="en"&gt;
  &lt;head&gt;
      &lt;meta charset="UTF-8"&gt;
      &lt;meta name="viewport" content="width=device-width, initial-scale=1.0"&gt;
      &lt;meta http-equiv="X-UA-Compatible" content="ie=edge"&gt;
      &lt;title&gt;Document&lt;/title&gt;
      &lt;style&gt;
          .custom-border {
              position: relative;
          }
      
          .custom-border::after {
              position: absolute;
              bottom: 0;
              left: 0;
              width: 100%;
              height: 10px;
              content: '';
              background-image: linear-gradient(to bottom, rgba(0,0,0,0), rgba(0,0,0,.4));
          }
      
      
      &lt;/style&gt;
  &lt;/head&gt;
  
  &lt;body&gt;
      &lt;div class="custom-border " style="height: 300px; width: 300px; background-color: #0E1C6F;"&gt;
  
      &lt;/div&gt;
  &lt;/body&gt;
  &lt;/html&gt;</code></pre>
  </div>
  </div>
  </p>