content starting at a certain height

whats the best way to get content to start at a fixed position for example 25% height from the top on a 100% height page? just something like padding-top 25%? or is it better to use something like rem? and is there any good shorthands for this in tailwind?
3 Replies
cucaracha
cucarachaOP2y ago
found a way but not sure if this is the best:
<main className="flex h-full flex-col items-center justify-end bg-black">
<div className="flex h-3/4 flex-col items-center justify-start gap-2">
<main className="flex h-full flex-col items-center justify-end bg-black">
<div className="flex h-3/4 flex-col items-center justify-start gap-2">
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
cucaracha
cucarachaOP2y ago
ahh didnt know about the [] syntax. thanks
Want results from more Discord servers?
Add your server