align-items-baseline not working properly

i have a div and inside that two more and i want both the text and the image to be at the bottom of the div, the image is not getting down
15 Replies
Jochem
Jochem16mo ago
Please review #how-to-ask-good-questions and add a lot of extra info like your code, preferably somewhere live like codepen
codeLover
codeLoverOP16mo ago
ok give me 5mins will send you
Jochem
Jochem16mo ago
don't send it to me, post it in here so others can take a look
codeLover
codeLoverOP16mo ago
ok sir
codeLover
codeLoverOP16mo ago
https://miniature-spork-qxgwgj449r6h9x46.github.dev/ see here sir my illustration image is not getting down as of text
GitHub
Build software better, together
GitHub is where people build software. More than 100 million people use GitHub to discover, fork, and contribute to over 330 million projects.
codeLover
codeLoverOP16mo ago
Jochem
Jochem16mo ago
I think you may have your repo set to private, I'm getting a 404
codeLover
codeLoverOP16mo ago
GitHub
GitHub - mohdaquib171/fb-signup
Contribute to mohdaquib171/fb-signup development by creating an account on GitHub.
codeLover
codeLoverOP16mo ago
check now is it visible now?
Jochem
Jochem16mo ago
the code is, the live version (the codespaces version) isn't. But I made it into a codepen with a placeholder for the illustration: https://codepen.io/jochemm/pen/XWyvEqV?editors=1100
codeLover
codeLoverOP16mo ago
ohk thanks sir, can you tell me how can the get down like the text
codeLover
codeLoverOP16mo ago
this is my design which i am trying to make
Jochem
Jochem16mo ago
sorry, I can't get it to work right now, and I don't have a lot of time to look at it. Someone else can probably take a look with the codepen as help what I can say, is that the image is aligning to the baseline on the h1, which is the bottom of the first line
codeLover
codeLoverOP16mo ago
ok thanks for your help sir
Jochem
Jochem16mo ago
I think you'll have to set the height on the container of the h1 and img somehow, and then change the align-items to something other than baseline
Want results from more Discord servers?
Add your server