Such a task:
When you hover over the link a , the visibility the hr line should change from hidden to visible
.portfolio__nav__block a { font-family: 'Roboto', sans-serif; font-weight: 300; font-size: 14px; text-transform: uppercase; text-decoration: none; color: #4a4a4a; margin: 50px 10px 0 10px; text-align: center; } .portfolio__nav__block hr { width: 80px; height: 2px; background: #f4511e; border: none; visibility: hidden; } .portfolio__nav__block a:hover .portfolio__nav__block hr { visibility: visible; } <div class="portfolio__nav__block"> <a href="#">All projects</a> <hr> </div>