mardi 11 juin 2019

Can Sass recognise a size and apply a condition?

I'm trying to realise a simple container in Sass. The container has 60px min-height and 80px height, with inside a simple paragraph.

Now, anytime I add a new paragraph in the container, the height increase, depending on how many paragraphs I insert in the container.

What I'm would like to know, it's if there is any way to set a condition that if the container exceeded 100px height, the border would change the colour.

Thank you guys!

Aucun commentaire:

Enregistrer un commentaire