On this page, you’ll learn how to vertically align inline (inline-block) elements. Try examples with many different methods (CSS padding, vertical-align, etc.).
Inline if statements, also known as ternary operators, can be used to write a shorthand version of an if-else statement.