samedi 21 mars 2015

How do I make an inline element take up space when empty?

I have an h1 and h3 tag that will erase itself and type, using theater.js. The problem is that when it erases itself to empty, the height of the div it's in get smaller, then snaps bigger when it has content again.


I want to make the h1 and h3 tag (or change the tag completely) keep its height even while empty.


Any idea?


Aucun commentaire:

Enregistrer un commentaire