@dams@disabled.social
@dams@disabled.social avatar

dams

@dams@disabled.social

Websites creator since 1997, passionate about accessibility, web development and interaction design. I am dyslexic and highly sensitive.

💣 My toots self-destruct after 2 weeks or so.

This profile is from a federated server and may be incomplete. Browse more on the original instance.

sarajw, to CSS
@sarajw@front-end.social avatar

Hopefully quick CSS question:

If you declare layers in one stylesheet, do you have to have the styles associated with those layers within or imported into the same stylesheet, or can they exist in completely different files, as long as they're all linked into the same html via the head?

Thank you!

dams,
@dams@disabled.social avatar

@sarajw you can read this, it explains everything. Especially the CSSOM section.

https://developer.mozilla.org/en-US/docs/Web/Performance/Critical_rendering_path

  • All
  • Subscribed
  • Moderated
  • Favorites
  • JUstTest
  • slotface
  • ngwrru68w68
  • everett
  • mdbf
  • modclub
  • rosin
  • khanakhh
  • DreamBathrooms
  • thenastyranch
  • magazineikmin
  • Youngstown
  • GTA5RPClips
  • InstantRegret
  • provamag3
  • kavyap
  • ethstaker
  • osvaldo12
  • normalnudes
  • tacticalgear
  • cisconetworking
  • cubers
  • Durango
  • Leos
  • anitta
  • tester
  • megavids
  • lostlight
  • All magazines