롤오버 css로 구현하기
본문
#comp_if li a{display:block;width:100%;height:100%;text-indent:-99999px;overflow:hidden}
#comp_if li.com_bg1 a{background:url(../img/com_bg1.jpg) no-repeat;width:248px;height:192px;text-indent:-9999px;overflow:hidden;display:inline-block bottom right #e7f0f6}
#comp_if li.com_bg1 a:hover {background-position:0 -193px bottom right #e7f0f6}
위에 a:hover해서 한줄추가했는데
아무런 동작이 없네여 왜그런ㄱ죠..
답변 3
bottom right #e7f0f6
삭제
comp_if li.com_bg1:hover a {background-position:0 -193px bottom right #e7f0f6}
도 해보셨나요 ?
감사합니다
그냥 오버시 다른 그림 불러오는걸로 해서 해결했습니다.
답변을 작성하시기 전에 로그인 해주세요.