Skip to content

Commit c5e34f6

Browse files
authored
Merge pull request #927 from patrick91/patch-1
Add zIndex to OverwriteCSSProperties
2 parents b64189d + 86f00b5 commit c5e34f6

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

packages/css/src/types.ts

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -411,6 +411,19 @@ interface OverwriteCSSProperties {
411411
* @see https://developer.mozilla.org/docs/Web/CSS/border-radius
412412
*/
413413
borderRadius?: CSS.BorderRadiusProperty<string | number>
414+
415+
/**
416+
* The **`z-index`** CSS property sets the z-order of a positioned element and its descendants or flex items. Overlapping elements with a larger z-index cover those with a smaller one.
417+
*
418+
* **Initial value**: `auto`
419+
*
420+
* | Chrome | Firefox | Safari | Edge | IE |
421+
* | :----: | :-----: | :----: | :----: | :---: |
422+
* | **1** | **1** | **1** | **12** | **4** |
423+
*
424+
* @see https://developer.mozilla.org/docs/Web/CSS/z-index
425+
*/
426+
zIndex?: ZIndexProperty | string;
414427
}
415428

416429
/**

0 commit comments

Comments
 (0)