diff --git a/submissions/examples/components-showcase/README.md b/submissions/examples/components-showcase/README.md new file mode 100644 index 00000000..bf7b6c98 --- /dev/null +++ b/submissions/examples/components-showcase/README.md @@ -0,0 +1,10 @@ +# Components Showcase Example + +This directory contains a standalone documentation showcase for the **Components** section of EaseMotion CSS. + +## Files Included +- `demo.html`: Structure demonstrating interactive buttons and card containers. +- `style.css`: Layout styles for the showcase. + +## How to View +Open `demo.html` directly in any browser to see the interactive components and animations in action. \ No newline at end of file diff --git a/submissions/examples/components-showcase/demo.html b/submissions/examples/components-showcase/demo.html new file mode 100644 index 00000000..10c063c2 --- /dev/null +++ b/submissions/examples/components-showcase/demo.html @@ -0,0 +1,42 @@ + + + + + + EaseMotion CSS - Components Showcase + + + + + + +
+

EaseMotion CSS Components Showcase

+

A live preview of animated, interactive UI components.

+
+ +
+ +
+

1. Animated Buttons

+
+ + + +
+
+ + +
+

2. Interactive Cards

+
+
+

Component Card

+

This card demonstrates standard entrance animations built with EaseMotion CSS.

+
+
+
+
+ + + \ No newline at end of file diff --git a/submissions/examples/components-showcase/style.css b/submissions/examples/components-showcase/style.css new file mode 100644 index 00000000..d8e27555 --- /dev/null +++ b/submissions/examples/components-showcase/style.css @@ -0,0 +1,51 @@ +/* Base styles for the showcase layout */ +body { + font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; + background-color: #0b0a12; + color: #f3f4f6; + margin: 0; + padding: 0; +} + +.container { + max-width: 1000px; + margin: 0 auto; + padding: 40px 20px; +} + +.showcase-header { + text-align: center; + padding: 60px 20px; + background: linear-gradient(135deg, #1e1b4b 0%, #0b0a12 100%); + border-bottom: 1px solid #2e2a47; +} + +.component-section { + margin-bottom: 50px; +} + +.component-grid { + display: flex; + gap: 20px; + flex-wrap: wrap; + margin-top: 20px; +} + +/* Fallback styles for items if library classes are purely animation-driven */ +.btn { + padding: 12px 24px; + background-color: #6366f1; + color: white; + border: none; + border-radius: 6px; + cursor: pointer; + font-weight: 6px; +} + +.card { + background-color: #161426; + border: 1px solid #2e2a47; + padding: 24px; + border-radius: 8px; + max-width: 300px; +} \ No newline at end of file