From 192c2af1ec60d62b501e72910f231c1946f0d46a Mon Sep 17 00:00:00 2001 From: Bob Vandevliet Date: Fri, 14 Jun 2024 13:57:27 +0200 Subject: [PATCH] Added stock background images to service cards. --- public/assets/css/styles.css | 35 +++++++++++++++++++++++++++++++++++ public/index.html | 18 ++++++++++-------- 2 files changed, 45 insertions(+), 8 deletions(-) diff --git a/public/assets/css/styles.css b/public/assets/css/styles.css index 6cf694b..fb2a78a 100644 --- a/public/assets/css/styles.css +++ b/public/assets/css/styles.css @@ -54,4 +54,39 @@ h4:hover .anchor-link, h5:hover .anchor-link, h6:hover .anchor-link { opacity: 1; +} + +.text-shadow { + text-shadow: + -1px -1px 3px rgba(0, 0, 0, 0.3), + -1px 0px 3px rgba(0, 0, 0, 0.3), + -1px 1px 3px rgba(0, 0, 0, 0.3), + 0px -1px 3px rgba(0, 0, 0, 0.3), + 0px 0px 3px rgba(0, 0, 0, 0.3), + 0px 1px 3px rgba(0, 0, 0, 0.3), + 1px -1px 3px rgba(0, 0, 0, 0.3), + 1px 0px 3px rgba(0, 0, 0, 0.3), + 1px 1px 3px rgba(0, 0, 0, 0.3); +} + +.card-img { + position: absolute; + top: 0; + left: 0; + width: 100%; + height: 100%; + object-fit: cover; +} + +.card-img-overlay { + position: unset; + z-index: 1; + width: 100%; + height: 100%; + background-color: rgba(0, 0, 0, 0.7); + transition: background-color 0.2s; +} + +.card:hover .card-img-overlay { + background-color: rgba(0, 0, 0, 0.4); } \ No newline at end of file diff --git a/public/index.html b/public/index.html index 09c01b0..618fa89 100644 --- a/public/index.html +++ b/public/index.html @@ -38,8 +38,10 @@
- -
+ + + ... +


Bedrijfsvideo @@ -52,8 +54,8 @@

- -
+ ... +


Evenementen @@ -66,8 +68,8 @@

- -
+ ... +


Sport @@ -80,8 +82,8 @@

- -
+ ... +


Bruiloften