aboutsummaryrefslogtreecommitdiffstats
path: root/alphabetlearning/static/css/project.css
diff options
context:
space:
mode:
authorMatthew Lemon <y@yulqen.org>2024-10-28 20:45:34 +0000
committerMatthew Lemon <y@yulqen.org>2024-10-28 20:45:34 +0000
commitfe61b793acf6140b32b79a922a2af7142160d767 (patch)
tree2c989948fa1c41015312ab651832b8b7533a34fc /alphabetlearning/static/css/project.css
parentb7a7acbc43bc7e574073c45c75f778404548c034 (diff)
Adds hover effect to featured images on resoure list page
Diffstat (limited to 'alphabetlearning/static/css/project.css')
-rw-r--r--alphabetlearning/static/css/project.css10
1 files changed, 10 insertions, 0 deletions
diff --git a/alphabetlearning/static/css/project.css b/alphabetlearning/static/css/project.css
index 102d9c9..7835f2e 100644
--- a/alphabetlearning/static/css/project.css
+++ b/alphabetlearning/static/css/project.css
@@ -152,6 +152,12 @@ nav > div > ul > li {
.featured-img {
+ overflow: hidden;
+}
+
+
+.featured-img img {
+ transition: transform .5s ease;
display: block;
margin-left: auto;
margin-right: auto;
@@ -162,6 +168,10 @@ nav > div > ul > li {
width: 100%;
}
+.featured-img:hover img {
+ transform: scale(1.2);
+}
+
.featured-card-description {
margin: 10px 0px;
line-height: 1.1;