max-height

See the Pen max-height by Kévin Bizien (@kbizien) on CodePen.

La propriété max-height attribue la hauteur maximale d'un élément. Elle surcharge la propriété height dans le cas où la hauteur attribuée est plus grande. Cependant la propriété min-height prend toujours le dessus sur max-height.

Aller plus loin

contact

Kevin Bizien

Product Designer
Design System Jedi

Want to tell me about your design project? Contact me at bonjour@kevinbizien.com and we can start talking soon!