Skip to content

CSS code snippet – How to add space between text and overline in s?

<!DOCTYPE html>
<html>
  <head>
    <title>Title of the document</title>
    <style>
      div {
        width: 400px;
      }
      span {
        padding-bottom: 10px;
        border-bottom: 1px solid #1f67db;
        line-height: 48px;
      }
    </style>
  </head>
  <body>
    <div>
      <span>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book.</span>
    </div>
  </body>
</html>
See also  Python code snippet - How explode by using two columns pandas?

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.