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

[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/

 



분류 제목
func CSS - rgba() 함수 ★ - (빨강,녹색,파랑,불투명도)으로 색상 정의. (= rgba함수 = 알지비…
func CSS - var() 함수 ★★ - 사용자정의 속성/속성값 변수 호출 (= var함수 = 바함수) ※ :r…
css CSS - 선택자 명시도 계산 - (CSS 적용 선택자우선순위 판별 = CSS적용순서 체크)
css CSS - 폰트오썸 아이콘 배경이미지 적용 + fontawesome 엑박원인 엑박해결
css CSS - 부모요소 안 자식요소 너비를 부모요소 밖으로 화면너비 100% 채우기. (= 부모이탈자식너비전체설…
css CSS - (블럭요소 + 인라인요소:이미지/텍스트) 중앙정렬/가운데정렬 원리/방법
selector CSS - :not(selector) 선택자 - (특정요소/특정선택자) 아닌 모든요소선택 (= not선택자 …
selector CSS - Pseudo Class + Pseudo Element - (가상클래스 + 가상요소) = 가상선택자…
selector CSS - :checked 가상선택자 - 체크된요소선택 (= :checked선택자 = 체크트 선택자) ※ 자…
selector CSS - :disabled 가상선택자 - 비활성화 된 요소 선택 (= 실행불능요소 = 작동불능요소 = :d…
selector CSS - :empty 가상선택자 - 자식/내용 없는 텅 빈 요소 선택 (= :empty선택자 = 엠프티 선…
selector CSS - :enabled 가상선택자 - 활성화 된 요소 선택 (= 작동가능요소 = 실행가능요소 = :ena…
selector CSS - :first-of-type 가상선택자 - 지정타입 첫번째자식요소 (순서선택자/순번선택자/타입선택자…
selector CSS - :in-range 가상선택자 - 지정범위안값 갖는 요소 선택 (= 인레인지선택자 IE13)
selector CSS - :invalid 가상선택자 - 유효하지 않는 값 요소 (= :invalid선택자 = 인밸리드 선택…
selector CSS - :last-child 가상선택자 - 그 부모의 마지막자식요소인 지정요소 (= :last-child…
selector CSS - :last-of-type 가상선택자 - 지정타입 마지막자식요소 (순서선택자,타입선택자, IE9)
selector CSS - :nth-child(n) 가상선택자 ★ - 그 부모의 n번째 자식요소 (=nth-child선택자 …
selector CSS - :nth-last-child(n) 가상선택자 ★★★ - (그 부모의) 마지막n번째 자식요소 (= …
selector CSS - :nth-last-of-type(n) 가상선택자 - 타입마지막n번째 자식요소 (순서선택자,,타입…
13/25
목록
찾아주셔서 감사합니다. Since 2012