A
A
A person from Kazakhstan2016-06-12 18:46:52
SVG
A person from Kazakhstan, 2016-06-12 18:46:52

Old question, maybe with errors, how to solve?

Implemented this kind of svg:

<svg width="400" height="240" style="position:relative; left:-120px;">
    <defs>
        <pattern id="img1" patternUnits="userSpaceOnUse" width="400" height="240">
            <image xlink:href="http://www.imagefully.com/wp-content/uploads/2015/07/Sexy-Pause-Girl-Pic.jpg" x="0" y="0" width="400" height="240"/>
        </pattern>
    </defs>
  <polygon points="110 220,10 10,380 10,380 220"
  style="fill:url(#img1); stroke:0; stroke-width:0; opacity="1" />
</svg>

It's in action
How to make the zoom effect ? just so that the block does not increase, namely the image itself

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
Person from Kazakhstan, 2016-06-12
@LenovoId

The answer was given on the US version of stackoverflow.com :
defs:hover

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question