+ 1

how to fix veritically center the element in css?

7th Nov 2017, 3:47 AM
sambasiva
3 odpowiedzi
+ 13
the question mentioned how to vertically align elements in CSS. the vertical-align keyword applies only in two context for inline elements. "to vertically align an inline element's box inside its containing line box. For example, it could be used to vertically align an <img> in a line of text:" flexbox & grid layout are more flexible for the task applies to all elements including block level. @Vengat can tell in which lesson & question is the keyword mentioned? i searched but couldn't find it. http://vanseodesign.com/css/vertical-centering/ https://css-tricks.com/what-is-vertical-align/ https://developer.mozilla.org/en-US/docs/Web/CSS/vertical-align
7th Nov 2017, 7:13 AM
Lord Krishna
Lord Krishna - avatar
+ 4
https://code.sololearn.com/Wh1vsqGKrrCU/?ref=app
7th Nov 2017, 4:12 AM
Daniel
Daniel - avatar
+ 4
7th Nov 2017, 6:25 AM
👑 Prometheus 🇸🇬
👑 Prometheus 🇸🇬 - avatar