Skip to content

feat: add responsive display utility classes (ease-hidden-*, ease-block-*, ease-flex-*)#1391

Merged
SAPTARSHI-coder merged 4 commits into
SAPTARSHI-coder:mainfrom
Pcmhacker-piro:feat/responsive-display-utilities-1179
Jun 5, 2026
Merged

feat: add responsive display utility classes (ease-hidden-*, ease-block-*, ease-flex-*)#1391
SAPTARSHI-coder merged 4 commits into
SAPTARSHI-coder:mainfrom
Pcmhacker-piro:feat/responsive-display-utilities-1179

Conversation

@Pcmhacker-piro
Copy link
Copy Markdown

Closes #1179

Pull Request Description

Add responsive display utility classes to submissions/examples/ease-display-utilities/. Replaces the previous non-responsive demo with a full set of breakpoint-aware utilities following the framework's 640/768/1024/1280px convention.


Type of Change

  • ✨ New animation / hover effect
  • 🧩 New component
  • 📝 Documentation improvement
  • 🐛 Bug fix in an existing submission
  • Other (describe below)

Submission Checklist

  • All changes are inside submissions/examples/ease-display-utilities/
  • Includes demo.html — self-contained, opens in browser with no server
  • Includes style.css — raw CSS for the proposed feature
  • Includes README.md — what it does, how to use it, why it fits EaseMotion CSS
  • No changes to core/
  • No changes to components/
  • One feature per PR (no bundled unrelated changes)

Feature Description

What does this add?

Responsive display utility classes: ease-hidden-sm/md/lg/xl, ease-block-sm/md/lg/xl, ease-flex-sm/md/lg/xl, ease-inline-sm/md/lg/xl, ease-hidden-down-sm/md/lg/xl, plus static ease-block, ease-inline, ease-inline-block, ease-flex, ease-inline-flex, ease-grid, ease-inline-grid, ease-hidden.

How does a developer use it?

<!-- Hide sidebar below lg -->
<aside class="ease-hidden-down-lg">...</aside>

<!-- Stack on mobile, flex row on md+ -->
<div class="ease-flex-md" style="display:block">
  <div>Card 1</div>
  <div>Card 2</div>
</div>

<!-- Mobile-only banner -->
<div class="ease-hidden-sm">Visible only below 640px</div>
Why does it fit EaseMotion CSS?
Responsive visibility is a fundamental layout primitive in every CSS framework. These classes let developers control display per breakpoint with single readable classes, directly supporting the "write UI like you describe it in English" philosophy.
Demo
- Demo added (demo.html works by opening directly in a browser)
Browser Testing
- Chrome
- Firefox
- Edge
- Safari (optional but appreciated)
Notes for Maintainer
All responsive utilities use !important to reliably override other display values. The breakpoint values match the framework convention (640/768/1024/1280px). ease-hidden-down-* uses max-width: (bp - 1px) to avoid overlap with min-width classes. Dark mode and reduced motion are handled via prefers-color-scheme: dark.

prakash meena added 4 commits June 5, 2026 01:54
- Fix duplicate id="variables" (second section renamed to id="custom-properties")
- Fix duplicate id="animations" (second section renamed to id="animations-reference")
- Fix unclosed <pre><code> tag in delay helpers example
Adds ::before pseudo-elements with SVG mask technique to render
social icons directly from CSS. Supports GitHub, Twitter/X, YouTube,
LinkedIn, Facebook, Instagram, and Discord via href attribute selectors.

When Font Awesome is loaded, its higher-specificity ::before rules
take precedence. When FA is unavailable, the inline SVG fallback
provides crisp, colorable icons that inherit hover transitions.

Closes SAPTARSHI-coder#1349
…ck-*, ease-flex-*, ease-hidden-down-*)

Add responsive display utility classes to ease-display-utilities with breakpoints at sm (640px), md (768px), lg (1024px), and xl (1280px). Includes hide/show/flex/block/inline variants for above and below breakpoints, plus static display utilities.

Closes SAPTARSHI-coder#1179
@github-actions github-actions Bot added documentation Improvements or additions to documentation contribution labels Jun 5, 2026
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Jun 5, 2026

✅ Submission Validation Passed!

Great job! All required files are present.

📁 Folder: submissions/examples/ease-display-utilities

Files found:

  • demo.html
  • style.css
  • README.md

🚀 Next Steps:

  • The maintainer will review your PR
  • Respond to any feedback if requested
  • Once approved, your contribution will be merged!

Thank you for contributing to EaseMotion CSS! 🎉

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Jun 5, 2026

📊 CSS Bundle Size Benchmark

No change in CSS bundle size. ✨

@Pcmhacker-piro
Copy link
Copy Markdown
Author

heyy @SAPTARSHI-coder
i fixed the assign issue so pls check this

@SAPTARSHI-coder SAPTARSHI-coder added accepted Contribution approved for integration into EaseMotion CSS animation Animation effects, hover interactions, motion ideas, transitions component New UI components (buttons, cards, modals, tooltips, badges) enhancement New feature or request good first issue Good for newcomers GSSoC-26 Official GSSoC 2026 issue gssoc:approved Approved for GSSoC contributions integrated Successfully merged and included in the framework level:intermediate Requires moderate project understanding type:feature New functionality or enhancement labels Jun 5, 2026
@SAPTARSHI-coder SAPTARSHI-coder merged commit ca10065 into SAPTARSHI-coder:main Jun 5, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

accepted Contribution approved for integration into EaseMotion CSS animation Animation effects, hover interactions, motion ideas, transitions component New UI components (buttons, cards, modals, tooltips, badges) contribution documentation Improvements or additions to documentation enhancement New feature or request good first issue Good for newcomers gssoc:approved Approved for GSSoC contributions GSSoC-26 Official GSSoC 2026 issue integrated Successfully merged and included in the framework level:intermediate Requires moderate project understanding type:feature New functionality or enhancement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add Responsive Display Utility Classes (ease-hidden-*, ease-block-*)

2 participants