I have an html element that exists on some elements but not others. For those elements that don't exist, I need to have a blank html element of equal size. This ensures that the spacing doesn't stray.
I tried adding the same element but placing hidden
, hidden="hidden"
and style="visibility:hidden;"
in the encapsulating element div, but this causes the build to fail. Any ideas?
You can try using
opacity: 0
instead of visibility.