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
Jochem15mo ago
Please review #how-to-ask-good-questions and add a lot of extra info like your code, preferably somewhere live like codepen
codeLover
codeLover15mo ago
ok give me 5mins will send you
Jochem
Jochem15mo ago
don't send it to me, post it in here so others can take a look
codeLover
codeLover15mo ago
ok sir
codeLover
codeLover15mo 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
codeLover15mo ago
Jochem
Jochem15mo ago
I think you may have your repo set to private, I'm getting a 404
codeLover
codeLover15mo ago
GitHub
GitHub - mohdaquib171/fb-signup
Contribute to mohdaquib171/fb-signup development by creating an account on GitHub.
codeLover
codeLover15mo ago
check now is it visible now?
Jochem
Jochem15mo 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
codeLover15mo ago
ohk thanks sir, can you tell me how can the get down like the text
codeLover
codeLover15mo ago
this is my design which i am trying to make
Jochem
Jochem15mo 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
codeLover15mo ago
ok thanks for your help sir
Jochem
Jochem15mo 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