我可以覆盖库中的默认CSS类吗?

时间:2018-11-30 17:59:53

标签: css

在MWF(仅适用于公司员工)库中。我看到一个class =“ x-hidden-focus”,当按Tab时将禁用可见焦点。我可以用其他CSS覆盖它吗?

1 个答案:

答案 0 :(得分:0)

您可以使用sys_connect_by_path子关系或添加新的with emp( ename, deptno ) as ( select 'CLARK',10 from dual union all select 'MILLER',10 from dual union all select 'KING',10 from dual union all select 'FORD',20 from dual union all select 'SCOTT',20 from dual union all select 'JONES',20 from dual union all select 'SMITH',20 from dual union all select 'ADAMS',20 from dual union all select 'WARD',30 from dual union all select 'MARTIN',30 from dual union all select 'TURNER',30 from dual union all select 'JAMES',30 from dual union all select 'ALLEN',30 from dual union all select 'BLAKE',30 from dual ) select deptno, ltrim(sys_connect_by_path(ename, ','), ',') as enames from (select deptno, ename, row_number() over(partition by deptno order by ename) as rn from emp) where connect_by_isleaf = 1 connect by deptno = prior deptno and rn = prior rn + 1 start with rn = 1; DEPTNO ENAMES ------ ------------------------------------ 10 CLARK,KING,MILLER 20 ADAMS,FORD,JONES,SCOTT,SMITH 30 ALLEN,BLAKE,JAMES,MARTIN,TURNER,WARD parent或最后使用class selector来覆盖CSS。

我建议您使用id类覆盖子级的CSS。如果您使用的是!important,则需要注意不要在应用程序的其他任何地方破坏CSS。