Streaming live at 10am (PST)

Why, when I put the height of the unit in % , it disappears (becomes thin line)?


#1

Hello dear team Webflow!

Why, when I put the height of the unit in % , it disappears (becomes thin line)?

Other developers do height units in % and it works for them . For example: https://preview.webflow.com/preview/thedesigner?preview=e1c006ef0e3f7712f92d8fdf847d42ea

It contains the image height in%. When I do the same, I have them disappear .

The only thing we ask is that you do a quick search for your question just in case someone has already created a thread on it. If your question is not design or code related, give us a shout at support@webflow.com.

[/quote]


#2

Height percentages don't work like width percentages as far as I can tell. Width bases a percentage on the viewport window. But height bases it on it's content. http://stackoverflow.com/questions/5657964/css-why-doesn-t-percentage-height-work

Additionally, if you have a small enough % value, you could end up with an element that is less than 1px tall, which would make it disappear.


#3

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.