truncate-control.html 819 B

12345678
  1. <!doctype html><html><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1">
  2. <style>body{margin:0;font:16px/1.5 sans-serif;color:#111}main{max-width:720px;margin:0 auto;padding:24px}
  3. .cut{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;width:140px;display:block;font:inherit}</style></head><body><main>
  4. <button class="cut save">Save all the changes to the workspace now</button>
  5. <nav><a href="#a"><span class="cut nav">Quarterly planning and roadmap review</span></a></nav>
  6. <a href="#b" aria-label="Annual report for the northwind holdings group"><span class="cut named">Annual report for the northwind holdings group</span></a>
  7. <div role="menu"><div role="menuitem" class="cut menu" title="full">Export the selection as a spreadsheet</div></div>
  8. </main></body></html>