struck on flex with image
I had a image and an paragraph but the paragraph is just one line and the height of the image is so long , I added a flex on it so it can come up with side by side , I am struck at how to reduce the height of the image so that it can be properly aligned with paragraph ... Exactly I want to make as the picture below here is the codepen link https://codepen.io/GOPI-CHAND-SADINENI/pen/dyxbLbb
5 Replies
Please give #how-to-ask-good-questions a look and share your code in something like codepen. Someone might be able to help you then.
thanks for that,just added the codepen link
can you please help me out?
Sorry, you'll have to be patient and wait for someone else to help
You need to define the height of the image and add the
align-items: center
to the container.thanks