From 5bab4502a098eb0e3b5a59b68bc9d8d23529ea55 Mon Sep 17 00:00:00 2001 From: Arne Rief Date: Fri, 10 Feb 2023 21:40:00 +0100 Subject: Desktop version --- sass/components/_portrait-container.scss | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 sass/components/_portrait-container.scss (limited to 'sass/components/_portrait-container.scss') diff --git a/sass/components/_portrait-container.scss b/sass/components/_portrait-container.scss new file mode 100644 index 0000000..819b18e --- /dev/null +++ b/sass/components/_portrait-container.scss @@ -0,0 +1,15 @@ +@use "../abstracts/animations" as *; + +.portrait-container { + height: 50vh; + width: fit-content; + animation: moveInLeft 2s ease-out; + backface-visibility: hidden; + + img { + border-radius: 25px; + height: 100%; + width: 100%; + object-fit: scale-down; + } +} -- cgit v1.2.3