• 회원가입
  • 로그인
  • 구글아이디로 로그인

[image] CSS - Image Hover Overlay - (이미지 마우스오버시 효과 = 이미지허버효과 = 이미지마우스오버효과)

목차

  1. 이미지 마우스오버 Fade - 텍스트 띄우기
  2. 이미지 마우스오버 Fade - 버튼 띄우기
  3. 이미지 마우스오버 Slide - Top
  4. 이미지 마우스오버 Slide - Bottom
  5. 이미지 마우스오버 Slide - Right
  6. 이미지 마우스오버 Slide - Left
  7. 이미지 마우스오버 Zoom
  8. 이미지 마우스오버 Title
  9. 이미지 마우스오버 Icon
  10. 이미지 마우스오버 효과 모두 보기 ★

 

이미지 마우스오버 Fade - 텍스트 띄우기

 

<meta name="viewport" content="width=device-width, initial-scale=1">

<style>

.container {

  position: relative;

  width: 50%;

}


.image {

  display: block;

  width: 100%;

  height: auto;

}


.textbox{

  position: absolute;

  top: 0;

  bottom: 0;

  left: 0;

  right: 0;

  height: 100%;

  width: 100%;

  opacity: 0;

  transition: .5s ease;

  background-color: rgb(0,140,186);

}


.container:hover .textbox{

  opacity: 0.7;

}


.text {

  color: white;

  font-size: 25px;

  font-family:verdana, sans-serif;

  position: absolute;

  top: 50%;

  left: 50%;

  -webkit-transform: translate(-50%, -50%);

  -ms-transform: translate(-50%, -50%);

  transform: translate(-50%, -50%);

  text-align: center;

}

</style>


<div class="container">

  <img src="https://picsum.photos/498" alt="Picsum" class="image">

  <div class="textbox">

    <div class="text">홈짱닷컴 Homzzang.com</div>

  </div>

</div>


결과보기

 

이미지 마우스오버 Fade - 버튼 띄우기

 

<meta name="viewport" content="width=device-width, initial-scale=1">

<style>

.container {

  position: relative;

  width: 50%;

}


.image {

  opacity: 1;

  display: block;

  width: 100%;

  height: auto;

  transition: .5s ease;

  backface-visibility: hidden;

}


.textbox {

  transition: .5s ease;

  opacity: 0;

  position: absolute;

  top: 50%;

  left: 50%;

  transform: translate(-50%, -50%);

  -ms-transform: translate(-50%, -50%);

  text-align: center;

}


.container:hover .image {

  opacity: 0.3;

}


.container:hover .textbox {

  opacity: 0.5;

}


.text {

  background-color: rgb(0,140,186);

  color: white;

  font-size: 16px;

  padding:16px 32px;

}

</style>


<div class="container">

  <img src="https://picsum.photos/498" alt="Picsum" class="image" style="width:100%">

  <div class="textbox">

    <div class="text">홈짱닷컴 Homzzang.com</div>

  </div>

</div>


결과보기

 

이미지 마우스오버 Slide - Top

이미지 마우스오버 Slide - Bottom

이미지 마우스오버 Slide - Right

이미지 마우스오버 Slide - Left

이미지 마우스오버 Zoom

이미지 마우스오버 Title

이미지 마우스오버 Icon

 

이미지 마우스오버 효과 모두 보기 ★

 
샘플

https://tympanus.net/Development/HoverEffectIdeas/index.html

https://tympanus.net/Development/HoverEffectIdeas/index2.html

 

다운로드

https://tympanus.net/Development/HoverEffectIdeas/HoverEffectIdeas.zip

 

설명 매뉴얼

https://tympanus.net/codrops/2014/06/19/ideas-for-subtle-hover-effects/

 



분류 제목
text CSS - text-emphasis 속성 - 텍스트 강조마크의 '모먕/색깔' 일괄 지정 (= 텍스트 글자 위…
text CSS - text-justify 속성 - 텍스트 좌우균분정렬 세부설정 (= text-justify속성 = …
text CSS - text-overflow 속성 ★ - 영역 이탈 글자 처리 (= text-overflow속성 = …
text CSS - word-break 속성 ★ - 한중일 외의 언어 (단어기준/글자기준) 줄바꿈규칙 지정 (= 줄…
text CSS - word-wrap 속성 ★ - 단어줄바꿈 위해 긴단어쪼개기 (= 긴단어깨기 = 긴단어나누기 = w…
font CSS - @font-face 구문 - 다운받은 웹폰트적용 (= @font-face쿼리 = 다운글꼴적용 = …
transform CSS - transform 속성 ★ - 요소 (회전/비틀기/크기확대) 변환 + 마우스 허버 시 줌효과 (=…
transform CSS - transform-origin 속성 - 변형요소 위치 변경. ( = transform-origin…
transform CSS - transform-style 속성 - 중첩요소를 3D공간에서 표시 방법 (= transform-s…
transform CSS - perspective 속성 - 3D요소의 원근 조망. (= perspective속성 = 퍼스펙티브…
transform CSS - perspective-origin 속성 - 3D요소 바라보는 위치 (= perspective-or…
transform CSS - backface-visibility 속성 - 3D요소 뒷면 노출 여부. (= backface-vi…
transition CSS - transition 속성 ★★★ - 지정시간 동안 천천히 변화 (= transition속성 = 트…
transition CSS - transition-delay 속성 - 트랜지션 시작 대기 시간 (= transition-dela…
transition CSS - transition-duration 속성 ★ - 트랜지션 완료에 걸리는 시간 (= transiti…
transition CSS - transition-property 속성 - 트랜지션 효과 적용할 속성명 지정 (= transit…
transition CSS - transition-timing-function 속성 - 트랜지션 속도변경곡선 (= transit…
animation CSS - @keyframes 구문 - 애니메이션 코드 사용 선언 (= 애니사용 = @keyframes속성 …
animation CSS - animation 속성 ★ - 애니메이션 단축속성 (= animation속성 = 애니메이션속성, …
animation CSS - animation-delay 속성 - 애니지연시간 (= 작동지연시간 = 작동대기시간 = 작동준비시…
8/25
목록
찾아주셔서 감사합니다. Since 2012