From 1f6e47ba98182a2eec60c523bd2d932477aae8d9 Mon Sep 17 00:00:00 2001 From: Joey Yakimowich-Payne Date: Thu, 27 Feb 2025 16:28:04 -0700 Subject: [PATCH] Make bean --- bean.svg | 5 +++++ index.html | 51 +++++++++++++++++++++++++++++++++++++++++++++++++++ styles.css | 32 ++++++++++++++++++++++++++++++++ 3 files changed, 88 insertions(+) create mode 100644 bean.svg create mode 100644 index.html create mode 100644 styles.css diff --git a/bean.svg b/bean.svg new file mode 100644 index 0000000..943997b --- /dev/null +++ b/bean.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/index.html b/index.html new file mode 100644 index 0000000..637e2e0 --- /dev/null +++ b/index.html @@ -0,0 +1,51 @@ + + + + + + Centered Bean + + + +
+ Bean +
+ + + \ No newline at end of file diff --git a/styles.css b/styles.css new file mode 100644 index 0000000..2b272b9 --- /dev/null +++ b/styles.css @@ -0,0 +1,32 @@ +body, html { + height: 100%; + margin: 0; + display: flex; + justify-content: center; + align-items: center; +} + +html { + background: linear-gradient(135deg, #ff7e5f, #feb47b); /* Modern gradient background */ +} + +.centered { + display: flex; + justify-content: center; + align-items: center; +} + +img { + max-width: 100%; + height: auto; +} + +#bean { + width: 150px; + height: 150px; + transition: transform 0.3s ease; +} + +#bean:hover { + transform: scale(1.1); /* Slightly enlarge the bean on hover */ +} \ No newline at end of file