我正在使用来自鼓室的AnimatedContentMenu教程,并尝试将链接集成到下拉菜单中。
但是,在向<a>
添加li
时,文字消失了,我无法解决原因。
该网站为http://designandintention.com/,相关代码为
<a href="images/NYSkyline.jpg">Banners</a>
<div class="ac_subitem">
<span class="ac_close"></span>
<h2>Banners</h2>
<ul>
<li>By using various creative tools such as Adobe's Photoshop and Illustrator, I have designed various banners that have been displayed in many confrence centers and halls around the UK.</li>
<li><a class="aclink" href="#">Link</a></li>
</ul>
</div>
</li>
答案 0 :(得分:2)
在你的style.css中,你有一个看起来像
的行.ac_menu > ul > li a {
....
opacity: 0;
....
}
如果删除不透明度:0;它有效。