자바스크립트부분에 배경색어떻게넣나요?
본문
<script>
$("img").hover(
function () {
$(this).css("opacity", 0.7);
},
function () {
$(this).css("opacity", 1);
}
);
</script>
마우스오버시 흰색으로나오는데
검은색으로 어둡게할려면 어떻게해야되나요?
답변을 작성하시기 전에 로그인 해주세요.
<script>
$("img").hover(
function () {
$(this).css("opacity", 0.7);
},
function () {
$(this).css("opacity", 1);
}
);
</script>
마우스오버시 흰색으로나오는데
검은색으로 어둡게할려면 어떻게해야되나요?