@gordonbreuer/Truncating Floating Navigation
HTML, CSS, JS

No description

Files
  • index.html
  • index.css
  • index.js
index.html
<!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8">
        <meta name="viewport" content="width=device-width">
        <title>repl.it</title>
        <script src="index.js"></script>
        <link href="index.css" rel="stylesheet" type="text/css" />
    </head>
    <body>

      <nav>
        <ul class="breadcrumb">
          <li><a href="#">First entry</a></li>
          <li><a href="#">Second entry</a></li>
          <li><a href="#">The third one</a></li>
          <li><a href="#">And this is some really long entry at the end</a></li>
        </ul>
      </nav>
    </body>
</html>
result
console