我有一份简单的<±/strong><ul>
and <li>
tabs with some CSS ppliednofollow noreferer”>>on jsfiddle here。
基本上,每个表格都有格式(请对上述编码进行更详细的核对):
...
<li class="icons ...">
<a href="#"></a>
<li>
...
As you saw in the code, the icon on each tab is actually the background image of each <li>
element.
当mouse hovers on a tab时,我还要改变<a>
内容。 当我尝试这样做时,mouse hover 然后,hides/strong> 表格图(<li>
background-image)。 我怎么能够摆脱这种状况?
<>0> 说我的问题的另一种方式 页: 1
What I mean is I have already had a background-image
for <li>
element, then I also want to have a background-image
for <a>
element which is contained by <li>
, but if I did so (that s have both <li>
and <a>
has background-image
with also :hover
background-image
), the background-image
of <a>
will hide the background-image
of <li>
, how to get rid of this problem?
-------------Please check @ hradac s reply, he understands my question correctly---------