Preview:
.et_pb_menu--without-logo .et_pb_menu__menu>nav>ul>li>a {
  position: relative;
    display: block;
    text-decoration: none;
    font-family: "Lato";
    color: #ecf0f1;
    text-transform: uppercase;
    padding: 4px 0;
  transition: 0.5s;
}
.et_pb_menu--without-logo .et_pb_menu__menu>nav>ul>li>a::after {
  position: absolute;
    content: "";
    width: 100%;
    height: 3px;
    top: 100%;
    left: 0;
    background: #ff7000;
    transition: transform 0.5s;
    transform: scaleX(0);
    transform-origin: right;
}
.et_pb_menu__menu>nav>ul>li>a:hover::after {
 transform: scaleX(1);
  transform-origin: left;
}

//disable the border for dropdown items
.et-menu .menu-item-has-children>a:first-child:after{
    
    background: none;
    border: none;
    content: ''
}
downloadDownload PNG downloadDownload JPEG downloadDownload SVG

Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!

Click to optimize width for Twitter