David Herman
06/02/2023, 12:45 AMDavid Herman
06/02/2023, 12:46 AMbackground: center / contain no-repeat url("../../media/examples/firefox-logo.svg"),
#eee 35% url("../../media/examples/lizard.png");
then the correct Modifier parameters show up on the right-hand size:
Modifier
.background(
Color.rgb(0xeee),
CSSBackground(
image = BackgroundImage.of(url("../../media/examples/lizard.png")),
position = BackgroundPosition.of(CSSPosition(35.percent))
),
CSSBackground(
image = BackgroundImage.of(url("../../media/examples/firefox-logo.svg")),
repeat = BackgroundRepeat.NoRepeat,
position = BackgroundPosition.of(CSSPosition.Center),
size = BackgroundSize.Contain
)
)
suresh
06/02/2023, 3:10 AMFilip Wiesner
06/02/2023, 6:35 AM