programming.dev
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
codeinabox to CSSEnglish · 11 days ago

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 · 11 days ago
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
    ·
    11 days ago

    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.

  • 8 users / day
  • 28 users / week
  • 115 users / month
  • 235 users / 6 months
  • 231 local subscribers
  • 727 subscribers
  • 178 Posts
  • 137 Comments
  • Modlog
  • mods:
  • Ategon
  • BE: 0.19.13
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org