programming.dev
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
codeinabox to CSSEnglish · 1 个月前

Making Context-Aware Components: How CSS inherit() Could Simplify Design Systems

www.alwaystwisted.com

external-link
message-square
0
link
fedilink
3
external-link

Making Context-Aware Components: How CSS inherit() Could Simplify Design Systems

www.alwaystwisted.com

codeinabox to CSSEnglish · 1 个月前
message-square
0
link
fedilink
Make your components context-aware with CSS inherit(): learn how the new inherit() function lets components derive spacing, colour and motion from their container, reduce token bloat, and implement robust fallbacks for browsers that don’t yet support the feature. Practical card examples included.
alert-triangle
You must log in or # to comment.

CSS

css

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: [email protected]
Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 5 users / day
  • 9 users / week
  • 38 users / month
  • 100 users / 6 months
  • 225 local subscribers
  • 653 subscribers
  • 137 Posts
  • 94 Comments
  • Modlog
  • mods:
  • Ategon
  • BE: 0.19.13
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org