Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS [Solved] Odd SVG behaviour Reply To: [Solved] Odd SVG behaviour

#176494
__
Participant

please ignore the duplicate height & width properties

Well… the duplicate height properties are exactly what is causing the clipping. You have two h1 a selectors: the first one specifies a height of 9rem (which seems to work nicely), while the second overrides it with a height of 112px (which is too short to contain the entire image; and, combined with overflow:hidden, causes the clipping).

Observe (I commented out the height in the second rule).