<script>
$("img").hover(
function () {
$(this).css("opacity", 0.7);
},
function () {
$(this).css("opacity", 1);
}
);
</script>
마우스오버시 흰색으로나오는데
검은색으로 어둡게할려면 어떻게해야되나요?
답변 1개 / 댓글 1개
채택된 답변
+20 포인트
ysnet
2016-04-29 (금) 19:03:30
$("img").hover(
function () {
$(this).css({"opacity": 0.7, "background-color": "#000"});
답변에 대한 댓글 1개
답변을 작성하려면 로그인이 필요합니다.