Skip welcome & menu and move to editor
Welcome to JS Bin
Load cached copy from
 
<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width">
  <title>JS Bin</title>
</head>
<body>
  <h2 class="eyebrows">Some reasonably long text goes here</h2>
</body>
</html>
 
.eyebrows {
  text-wrap: balance;
  display: flex;
  align-items: center;
  gap: 1ch;
  text-align: center;
  
  &::before, &::after {
    content: "•";
    flex: 1 1 10ch;
    text-align: right;
  }
  
  &::after {
    text-align: left;
  }
}
@layer not-important-for-demo {
  .eyebrows {
    font-weight: 500;
    text-transform: uppercase;
    font-size: 17px;
  }
}
Output 300px

You can jump to the latest bin by adding /latest to your URL

Dismiss x
public
Bin info
anonymouspro
0viewers