#custom imageStyle

8 messages · Page 1 of 1 (latest)

crimson compass
#

This is in docs.

const imageStyle = {
borderRadius: '50%',
border: '1px solid #fff',

}

export default function LogoImage() {
return (
<Image
src={Logo}

  style={imageStyle}
  
/>

)
}

Is it possible to add z-index to const imageStyle ?

lethal kettleBOT
#

🔎 This post has been indexed in our web forum and will be seen by search engines so other users can find it outside Discord

🕵️ Your user profile is private by default and won't be visible to users outside Discord, if you want to be visible in the web forum you can add the "Public Profile" role in id:customize

✅ You can mark a message as the answer for your post with Right click -> Apps -> Mark Solution
(if you don't see the option, try refreshing Discord with Ctrl + R)

topaz sparrow
#

Try it

#

It would probably be named zIndex instead

crimson compass
#

Thanks, zIndex works z-index doesnt. Can I ask why is that?

topaz sparrow
#

Its just their naming convention

#

camelCase

#

Mark the answer btw 🙂