showcar-ui
Version:
Showcar-ui is the pattern library that is used to build the frontend of AutoScout24. It provides CSS classes, custom elements and components.
10 lines (8 loc) • 302 B
Markdown
<h2>Ellipsis<span class="status approved">Approved</span></h2>
If the content gets too long, an ellipsis will be placed and the text is cut off. Add a `title` attribute to display the whole text on mouseover.
<style>
#ellipsis .sample .sc-ellipsis{
width: 100px;
border: 1px solid #808080;
}
</style>