[筆記] Udemy – CSS3 Animations, Transforms and Transitions Ultimate Guide (42)

章節連結

有鑑於用遍不少的前端 UI 框架,對於其 CSS 特效往往是不知其所以然。若要依情況改寫的話,便遇上了不小困難。Udemy 上的 CSS3 Animations, Transforms and Transitions Ultimate Guide 課程有不少的範例和實作簡介,便決定從此來下手。這篇筆記下 Caption Hover Effect。
css3 logo


課程相關資訊

[連結]:https://www.udemy.com/course/css3-animations-transforms-and-transitions-ultimate-guide/

本篇範圍:Chapter 7 ( Image Hover Effect )

請注意:本系列文章為個人對應課程的消化吸收後,所整理出來的內容。換言之,並不一定會包含全部的課程內容,也有可能會添加其他資源來說明。


程式碼

1. 透過 figcaption 搭配定位,就可以達成 overlay 的效果
2. 切記 transition 是兩種狀態的變化,所以不能使用 display:none 來隱藏,而要使用 opacity 0~1 之間的變化
3. 若在 hover 時,圖片要啟用放大縮小的變化,在圖片位置上要多下 overflow:hidden。圖片的特效和 caption 要分開。
4. hover 之後從下方出現顯示框 = 一開始透過 overflow:hidden + trasform 藏在畫面下方,再 hover 時跑出來

https://github.com/andy922200/css3-animations-transforms-and-transitions-ultimate-guide/commit/7db8356e03bc3afeb28d1485c9f018e6be9de928


系列文章

  • [筆記] Udemy – CSS3 Animations, Transforms and Transitions Ultimate Guide (9)
  • [筆記] Udemy – CSS3 Animations, Transforms and Transitions Ultimate Guide (8)
  • [筆記] Udemy – CSS3 Animations, Transforms and Transitions Ultimate Guide (72)
  • [筆記] Udemy – CSS3 Animations, Transforms and Transitions Ultimate Guide (71)
  • [筆記] Udemy – CSS3 Animations, Transforms and Transitions Ultimate Guide (70)
  • [筆記] Udemy – CSS3 Animations, Transforms and Transitions Ultimate Guide (7)
  • [筆記] Udemy – CSS3 Animations, Transforms and Transitions Ultimate Guide (69)
  • [筆記] Udemy – CSS3 Animations, Transforms and Transitions Ultimate Guide (68)
  • [筆記] Udemy – CSS3 Animations, Transforms and Transitions Ultimate Guide (67)
  • [筆記] Udemy – CSS3 Animations, Transforms and Transitions Ultimate Guide (66)
  • [筆記] Udemy – CSS3 Animations, Transforms and Transitions Ultimate Guide (65)
  • [筆記] Udemy – CSS3 Animations, Transforms and Transitions Ultimate Guide (64)
  • [筆記] Udemy – CSS3 Animations, Transforms and Transitions Ultimate Guide (63)
  • [筆記] Udemy – CSS3 Animations, Transforms and Transitions Ultimate Guide (62)
  • [筆記] Udemy – CSS3 Animations, Transforms and Transitions Ultimate Guide (61)
  • [筆記] Udemy – CSS3 Animations, Transforms and Transitions Ultimate Guide (60)
  • [筆記] Udemy – CSS3 Animations, Transforms and Transitions Ultimate Guide (6)
  • [筆記] Udemy – CSS3 Animations, Transforms and Transitions Ultimate Guide (59)
  • [筆記] Udemy – CSS3 Animations, Transforms and Transitions Ultimate Guide (58)
  • [筆記] Udemy – CSS3 Animations, Transforms and Transitions Ultimate Guide (57)
  • [筆記] Udemy – CSS3 Animations, Transforms and Transitions Ultimate Guide (56)
  • [筆記] Udemy – CSS3 Animations, Transforms and Transitions Ultimate Guide (55)
  • [筆記] Udemy – CSS3 Animations, Transforms and Transitions Ultimate Guide (54)
  • [筆記] Udemy – CSS3 Animations, Transforms and Transitions Ultimate Guide (53)
  • [筆記] Udemy – CSS3 Animations, Transforms and Transitions Ultimate Guide (52)
  • [筆記] Udemy – CSS3 Animations, Transforms and Transitions Ultimate Guide (51)
  • [筆記] Udemy – CSS3 Animations, Transforms and Transitions Ultimate Guide (50)
  • [筆記] Udemy – CSS3 Animations, Transforms and Transitions Ultimate Guide (5)
  • [筆記] Udemy – CSS3 Animations, Transforms and Transitions Ultimate Guide (49)
  • [筆記] Udemy – CSS3 Animations, Transforms and Transitions Ultimate Guide (48)
  • [筆記] Udemy – CSS3 Animations, Transforms and Transitions Ultimate Guide (47)
  • [筆記] Udemy – CSS3 Animations, Transforms and Transitions Ultimate Guide (46)
  • [筆記] Udemy – CSS3 Animations, Transforms and Transitions Ultimate Guide (45)
  • [筆記] Udemy – CSS3 Animations, Transforms and Transitions Ultimate Guide (44)
  • [筆記] Udemy – CSS3 Animations, Transforms and Transitions Ultimate Guide (43)
  • [筆記] Udemy – CSS3 Animations, Transforms and Transitions Ultimate Guide (41)
  • [筆記] Udemy – CSS3 Animations, Transforms and Transitions Ultimate Guide (40)
  • [筆記] Udemy – CSS3 Animations, Transforms and Transitions Ultimate Guide (4)
  • [筆記] Udemy – CSS3 Animations, Transforms and Transitions Ultimate Guide (39)
  • [筆記] Udemy – CSS3 Animations, Transforms and Transitions Ultimate Guide (38)
  • [筆記] Udemy – CSS3 Animations, Transforms and Transitions Ultimate Guide (37)
  • [筆記] Udemy – CSS3 Animations, Transforms and Transitions Ultimate Guide (36)
  • [筆記] Udemy – CSS3 Animations, Transforms and Transitions Ultimate Guide (35)
  • [筆記] Udemy – CSS3 Animations, Transforms and Transitions Ultimate Guide (34)
  • [筆記] Udemy – CSS3 Animations, Transforms and Transitions Ultimate Guide (33)
  • [筆記] Udemy – CSS3 Animations, Transforms and Transitions Ultimate Guide (32)
  • [筆記] Udemy – CSS3 Animations, Transforms and Transitions Ultimate Guide (31)
  • [筆記] Udemy – CSS3 Animations, Transforms and Transitions Ultimate Guide (30)
  • [筆記] Udemy – CSS3 Animations, Transforms and Transitions Ultimate Guide (3)
  • [筆記] Udemy – CSS3 Animations, Transforms and Transitions Ultimate Guide (29)
  • [筆記] Udemy – CSS3 Animations, Transforms and Transitions Ultimate Guide (28)
  • [筆記] Udemy – CSS3 Animations, Transforms and Transitions Ultimate Guide (27)
  • [筆記] Udemy – CSS3 Animations, Transforms and Transitions Ultimate Guide (26)
  • [筆記] Udemy – CSS3 Animations, Transforms and Transitions Ultimate Guide (25)
  • [筆記] Udemy – CSS3 Animations, Transforms and Transitions Ultimate Guide (24)
  • [筆記] Udemy – CSS3 Animations, Transforms and Transitions Ultimate Guide (23)
  • [筆記] Udemy – CSS3 Animations, Transforms and Transitions Ultimate Guide (22)
  • [筆記] Udemy – CSS3 Animations, Transforms and Transitions Ultimate Guide (21)
  • [筆記] Udemy – CSS3 Animations, Transforms and Transitions Ultimate Guide (20)
  • [筆記] Udemy – CSS3 Animations, Transforms and Transitions Ultimate Guide (2)
  • [筆記] Udemy – CSS3 Animations, Transforms and Transitions Ultimate Guide (19)
  • [筆記] Udemy – CSS3 Animations, Transforms and Transitions Ultimate Guide (18)
  • [筆記] Udemy – CSS3 Animations, Transforms and Transitions Ultimate Guide (17)
  • [筆記] Udemy – CSS3 Animations, Transforms and Transitions Ultimate Guide (16)
  • [筆記] Udemy – CSS3 Animations, Transforms and Transitions Ultimate Guide (15)
  • [筆記] Udemy – CSS3 Animations, Transforms and Transitions Ultimate Guide (14)
  • [筆記] Udemy – CSS3 Animations, Transforms and Transitions Ultimate Guide (13)
  • [筆記] Udemy – CSS3 Animations, Transforms and Transitions Ultimate Guide (12)
  • [筆記] Udemy – CSS3 Animations, Transforms and Transitions Ultimate Guide (11)
  • [筆記] Udemy – CSS3 Animations, Transforms and Transitions Ultimate Guide (10)
  • [筆記] Udemy – CSS3 Animations, Transforms and Transitions Ultimate Guide (1)
  • 按讚加入粉絲團

    延伸閱讀