Home › Forums › CSS › [Solved] Odd SVG behaviour › Reply To: [Solved] Odd SVG behaviour
July 25, 2014 at 6:01 pm
#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).