menu hover css

PHOTO EMBED

Mon Oct 25 2021 21:56:08 GMT+0000 (UTC)

Saved by @khalidlogi #css

.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: ''
}
content_copyCOPY