jQuery에서 빛나는 텍스트 메뉴를 만들려고 노력하고 있으며 많은 노력 끝에 여전히 작동하지 않습니다. 내 실수가 어디 있는지 모르겠다. 누가 도와 줄 수 있니?마우스를 가져 가면 빛나는 텍스트
HTML :
<div id="list">
<div class="glow Text">HOME</div>
<div class="glow Text">CONTACT</div>
<div class="glow Text">PRODUCTS</div>
<div class="glow Text">SERVICES</div>
<div class="glow Text">BLOG</div>
</div>
CSS :
body{
background:#000
}
#list .glow{
text-shadow: #CCC 0px 0px 0px;
position:relative;
color: #CCC;
font-size: 28px;
margin: 0px;
padding: 0px;
line-height: 26px;
font-family: Arial Narrow;
}
#list .active{
position:relative;
color: #FFF;
font-size: 28px;
margin: 0px;
padding: 0px;
line-height: 26px;
font-family: Arial Narrow;
}
jQuery를 : 나는 당신의 jQuery를이 무엇을하고 있는지 확실하지 않다
jQuery(document).ready(function() {
jQuery('.glow').glow();
})
코드를 다시 들여 쓰기 후에 나는 몸이 닫히지 않는 CSS 속성이 있음을 발견했다. '# 000' 뒤에 세미콜론을 넣으십시오. –