T
T
Timofey Usulov2017-09-27 19:37:27
Flexbox
Timofey Usulov, 2017-09-27 19:37:27

How to align link and image vertically inside a flex item?

Hello!
So I could not figure out how to align the link with the picture vertically. If we leave alone, everything is fine, but how together ...
Link to example
Thank you for your attention!

Answer the question

In order to leave comments, you need to log in

3 answer(s)
S
SuperToster, 2017-09-27
@devtimberg

Are you talking about this? https://jsfiddle.net/4yn093y6/

S
Sasha, 2017-09-27
@userAlexander

@devtimberg
Try this code on the parent of the image and text

display:flex;
flex-flow:row nowrap;
align-items:center;

P
PandaTheSlayer, 2017-09-27
@PandaTheSlayer

howtocenterincss.com/#contentType=div&container.wi...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question