.link { position: relative; display: inline-block; padding: 5px 0; text-decoration: none; color: #fff; } .link:after { content: ''; height: 1px; display: block; border-bottom: 2px dotted darkblue; width: 0; -webkit-transition: width 0.2s; transition: width 0.2s; } .link:hover:after { width: 100%; } .author a { text-decoration: none; cursor: pointer; } footer .link:after { border-bottom: 2px dotted white; } #map { height: 50vh; } .species span { margin-left: 1em; } .species .sci { font-style: italic; } .none { display: none; }