Lemmy: Bestiverse
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
RSS BotMB to Hacker NewsEnglish · 7 months ago

Contain – CSS Cascading Style Sheets – MDN

developer.mozilla.org

external-link
message-square
0
fedilink
1
external-link

Contain – CSS Cascading Style Sheets – MDN

developer.mozilla.org

RSS BotMB to Hacker NewsEnglish · 7 months ago
message-square
0
fedilink
contain - CSS: Cascading Style Sheets | MDN
developer.mozilla.org
external-link
The contain CSS property indicates that an element and its contents are, as much as possible, independent from the rest of the document tree. Containment enables isolating a subsection of the DOM, providing performance benefits by limiting calculations of layout, style, paint, size, or any combination to a DOM subtree rather than the entire page. Containment can also be used to scope CSS counters and quotes.

Comments

alert-triangle
You must log in or register to comment.

Hacker News

hackernews

Subscribe from Remote Instance

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: !hackernews@lemmy.bestiver.se
lock
Community locked: only moderators can create posts. You can still comment on posts.

Posts from the RSS Feed of HackerNews.

The feed sometimes contains ads and posts that have been removed by the mod team at HN.

Visibility: Public
globe

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

  • 438 users / day
  • 1.44K users / week
  • 3.39K users / month
  • 9.03K users / 6 months
  • 2 local subscribers
  • 1.85K subscribers
  • 24.7K Posts
  • 8.84K Comments
  • Modlog
  • mods:
  • patrick
  • RSS Bot
  • BE: 0.19.5
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org