Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
taigrr8796yWait no I was asking if that's what you did wrong, definitely wasn't suggesting using a span for centering
-
wowotek58276y@taigrr i never use pixel count. i use percent and somethimes vh and vw. i did that on the first div.
-
wowotek58276y@taigrr no it's not deployed yet. but it's only npm install and start tho. only if you are interested too look how mumble jumble the code is.
-
taigrr8796yI think it's a preference thing but maybe remove the centering from body, and use margin-left: calc( 50% - 175ish ) and margin-top: whatever on the div for the form that has width 350
175 when total width is 350, but might not be exactly 350 so figure that bit out -
wowotek58276y@devTea are you asking or suggest a solution?
the outer most parent :
position: relative;
display: flex;
justify-content: center;
align-items: center; -
devTea240886y@wowotek solution, kinda hard without looking at the css, are you using any cas framework? From the looks of it there is a media query that makes it justify-content left on specific width
-
wowotek58276y@devTea no, not yet. i think the problem is in the css. i'm a back end dev. this is my chance to figure it out π
-
taigrr8796y@wowotek if it's still messed up tomorrow I'll send you a pull request, I'm just on my phone RN and can't be bothered to get out of bed hahahaha
-
Looking closely I think what you did wrong was stretching the preview screen to the end!
-
wowotek58276y@FrodoSwaggins i don't understand any of that lol. this is one of my first attempt to create a frontend-side
-
wowotek58276y@FrodoSwaggins i don't understand what the definition means either. need more practice than to rant about it, i suppose.
-
Impressive to see how supportive the community of devrant is with so many people trying to help :)
-
wowotek58276y
-
taigrr8796y@wowotek css fix
Edit: the graphics ain't interchanging here on devRant. @dfox, any idea why not?
Link to imgur: https://imgur.com/a/7vHP4Hs
Higher quality webm: https://ipfs.io/ipfs/... -
taigrr8796y@wowotek haha yeah you'll be mad when you see it, it's one line xD
Edit: PR https://github.com/wowotek/...
Fucking shit, where did i go wrong ?
rant