Skip to content

docs: add modern CSS tips for field-sizing and light-dark() with demos#221

Open
ibesuperv wants to merge 1 commit intoAllThingsSmitty:masterfrom
ibesuperv:master
Open

docs: add modern CSS tips for field-sizing and light-dark() with demos#221
ibesuperv wants to merge 1 commit intoAllThingsSmitty:masterfrom
ibesuperv:master

Conversation

@ibesuperv
Copy link
Copy Markdown

Hi there!

I've added two new modern CSS protips to the collection that reflect the latest 2024/2025 standards:

  1. field-sizing: content: A powerful new way to auto-resize textareas and inputs without using any JavaScript.
  2. light-dark(): A cleaner, modern method for handling Light/Dark mode themes in a single property without media queries.

This is my first-ever open-source contribution, and I am super excited to be contributing to such a widely-used resource! I'm a big fan of this project and happy to help keep it up-to-date with the latest CSS features.

@ibesuperv
Copy link
Copy Markdown
Author

I am open to any feedback or changes you might suggest. Thank you for your time!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant