Source Code:
(back to article)
Submit
Result:
Report an issue
<!DOCTYPE html> <html> <head> <title>Title of the document</title> <style> .ar-course-nav { cursor: pointer; padding: 8px 12px 8px 12px; border: 1px solid grey; border-radius: 8px; color: #555555; display: flex; justify-content: space-between; } .ar-course-nav:hover { background-color: rgba(0, 0, 0, 0.1); } .content { width: 96%; } .top-row { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; } .bottom-row { width: 100%; display: flex; justify-content: space-between; } .left { margin-right: 8px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; flex-grow: 1; } .right { text-align: right; white-space: nowrap; flex-shrink: 0; } .arrow { margin-left: 8px; } </style> </head> <body> <div class="ar-course-nav"> <div class="content"> <div class="top-row"> <strong title="Some name, which is really quite long and goes on a bit. Then, when you think it stops, it keeps on going even longer!"> Some name, which is really quite long and goes on a bit. Then, when you think it stops, it keeps on going even longer! </strong> </div> <div class="bottom-row"> <div class="left" title="A really really really really really really really really really really really long name"> A really really really really really really really really really really really long name </div> <div class="right"> Created: 27 April 2020 </div> </div> </div> <div class="arrow"> <strong>></strong> </div> </div> </body> </html>