-
Hey all I would like to have a box that is 100% height and an image in the middle (vertical and horizontal) current code i have is:
|
Beta Was this translation helpful? Give feedback.
Answered by
nkrantz
Oct 12, 2022
Replies: 1 comment 1 reply
-
Hey @jhanley87 - welcome to Paste! I'd recommend doing something like this:
In general, it's best to use the properties directly on the Box component rather than putting them in the Let us know how it goes! |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
nkrantz
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey @jhanley87 - welcome to Paste! I'd recommend doing something like this:
In general, it's best to use the properties directly on the Box component rather than putting them in the
style
tag. You can see the list of Box Props on the docs site.Let us know how it goes!