Sign in

Element UI navigation menu style problem

ruhix edited in Thu, 23 Jun 2022

Is there any way to work in El - Menu select the style of submenu and add an edge.

As shown in the figure:


2 Replies
commented on Thu, 23 Jun 2022

I haven't used element UI. Try adding a class after clicking. This class controls the right border of the box

commented on Thu, 23 Jun 2022

Just add a style

.el-menu-item.is-active {
    color: #409EFF;
    border-right: 4px solid #409EFF;
lock This question has been locked and the reply function has been disabled.