diff --git a/html/core/src/jsMain/kotlin/org/jetbrains/compose/web/css/properties/position.kt b/html/core/src/jsMain/kotlin/org/jetbrains/compose/web/css/properties/position.kt index 23896d8da5c..4346bb6ca37 100644 --- a/html/core/src/jsMain/kotlin/org/jetbrains/compose/web/css/properties/position.kt +++ b/html/core/src/jsMain/kotlin/org/jetbrains/compose/web/css/properties/position.kt @@ -46,3 +46,14 @@ fun StyleScope.right(value: CSSAutoKeyword) { property("right", value) } +// https://developer.mozilla.org/en-US/docs/Web/CSS/inset +fun StyleScope.inset(vararg value: CSSLengthOrPercentageValue) { + // no Typed OM yet + property("inset", value.joinToString(" ")) +} + +// https://developer.mozilla.org/en-US/docs/Web/CSS/inset +fun StyleScope.inset(vararg value: CSSAutoKeyword) { + // no Typed OM yet + property("inset", value.joinToString(" ")) +}