.cool-link {
    position: relative;
    text-decoration: none;
}

.cool-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: currentColor;
    transition: width 0.3s ease;
}

.cool-link:hover::after {
    width: 100%;
}