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

Style Headings using the CSS :heading pseudo-class

www.alwaystwisted.com

external-link
message-square
8
link
fedilink
9
external-link

Style Headings using the CSS :heading pseudo-class

www.alwaystwisted.com

codeinabox to CSSEnglish · 1 天前
message-square
8
link
fedilink
Use the :heading pseudo-class to style all headings (h1-h6) with a single CSS rule. Reduce repetition in design systems and component libraries while maintaining consistency.
  • briggsyj
    link
    fedilink
    arrow-up
    3
    ·
    1 天前

    yep

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.

  • 6 users / day
  • 72 users / week
  • 106 users / month
  • 223 users / 6 months
  • 231 local subscribers
  • 715 subscribers
  • 170 Posts
  • 135 Comments
  • Modlog
  • mods:
  • Ategon
  • BE: 0.19.13
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org