其他分享
首页 > 其他分享> > 修改element中el-menu的默认样式

修改element中el-menu的默认样式

作者:互联网

/* 定制el-menu样式 */

.clearfix >>> .el-menu {

  border-radius: 5px;

  overflow: hidden;

  background-color: #2381df;

}

.clearfix >>> .el-menu-item {

  background-color: #2381df !important;

}

.clearfix >>> .el-menu-item:hover {

  outline: 0 !important;

  color: #fff !important;

}

.clearfix >>> .el-menu-item.is-active {

  color: #fff !important;

  background-color: #67bb74 !important;

}

.clearfix >>> .el-submenu__title:focus,

.el-submenu__title:hover {

  outline: 0 !important;

  color: #fff !important;

  background: #2381df !important;

}

标签:el,color,menu,element,clearfix,important,background
来源: https://blog.csdn.net/NanghKing/article/details/123060870