CSS display: contents
`display: contents` causes an element's children to appear as if they were direct children of the element's parent, ignoring the element itself. This can be useful when a wrapper element should be ignored when using CSS grid or similar layout techniques.
:has() CSS relational pseudo-class
Select elements containing specific content. For example, `a:has(img)` selects all `<a>` elements that contain an `<img>` child.
CSS Nesting
CSS nesting provides the ability to nest one style rule inside another, with the selector of the child rule relative to the selector of the parent rule. Similar behavior previously required a CSS pre-processor.
CSS3 Opacity
Method of setting the transparency level of an element
CSS Subgrid
Feature of the CSS Grid Layout Module Level 2 that allows a grid-item with its own grid to align in one or both dimensions with its parent grid.
DOM manipulation convenience methods
jQuery-like methods on DOM nodes to insert nodes around or within a node, or to replace one node with another. These methods accept any number of DOM nodes or HTML strings as arguments. Includes: `ChildNode.before`, `ChildNode.after`, `ChildNode.replaceWith`, `ParentNode.prepend`, and `ParentNode.append`.
PNG alpha transparency
Semi-transparent areas in PNG files
rem (root em) units
Type of unit similar to `em`, but relative only to the root element, not any parent element. Thus compounding does not occur as it does with `em` units.
Upgrade Insecure Requests
Declare that browsers should transparently upgrade HTTP resources on a website to HTTPS.
cssrule api: parentrule
cssrule api: parentstylesheet
cssstyledeclaration api: parentrule
filesystementry api: getparent
htmlelement api: offsetparent
node api: parentelement
node api: parentnode
stylesheet api: parentstylesheet
treewalker api: parentnode
window api: parent
css at-rule: `@media`: `prefers-color-scheme` media feature: respects `color-scheme` inherited from parent
css property: forced-color-adjust: preserve-parent-color
css property: text-align: match-parent
css selector: `:first-child`: matches elements with no parent
css selector: `:last-child`: matches elements with no parent
css selector: `:nth-child()`: matches elements with no parent
css selector: `:nth-last-child()`: matches elements with no parent
css selector: `:only-child`: matches elements with no parent
types: <color>: `transparent` keyword
28 results found.