Ver Mensaje Individual
  #4 (permalink)  
Antiguo 31/03/2016, 17:56
lobopk2
 
Fecha de Ingreso: diciembre-2015
Mensajes: 62
Antigüedad: 9 años, 1 mes
Puntos: 0
Respuesta: No se mantiene el :hover

Código HTML:
Ver original
  1. <svg
  2.   xmlns:dc="http://purl.org/dc/elements/1.1/"
  3.   xmlns:cc="http://creativecommons.org/ns#"
  4.   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
  5.   xmlns:svg="http://www.w3.org/2000/svg"
  6.   xmlns="http://www.w3.org/2000/svg"
  7.   version="1.1"
  8.   id="svg2"
  9.   viewBox="0 0 1000 800.00001"
  10.   height="800"
  11.   width="1000">
  12.   <defs
  13.     id="defs4" />
  14.   <metadata
  15.     id="metadata7">
  16.     <rdf:RDF>
  17.       <cc:Work
  18.         rdf:about="">
  19.         <dc:format>image/svg+xml</dc:format>
  20.         <dc:type
  21.           rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
  22.         <dc:title></dc:title>
  23.       </cc:Work>
  24.     </rdf:RDF>
  25.   </metadata>
  26.   <g
  27.     transform="translate(0,-252.36216)"
  28.     id="layer1">
  29.     <rect
  30.       y="369.50504"
  31.       x="145.71428"
  32.       height="80"
  33.       width="305.71429"
  34.       id="rojo"
  35.       style="opacity:1;fill:#ff0000;fill-opacity:1;fill-rule:evenodd;stroke:#ff0000;stroke-width:1;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;" />
  36.     <rect
  37.       y="492.36215"
  38.       x="262.85715"
  39.       height="88.571426"
  40.       width="302.85715"
  41.       id="azul"
  42.       style="opacity:1;fill:#00ffff;fill-opacity:1;fill-rule:evenodd;stroke:#ff0000;stroke-width:1;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" />
  43.   </g>
  44. </svg>

mira te dejo la etiqueta svg, para que lo veas.

bueno aqui dentro hay estilos que me crea el inkscape, lo otro que te puse es la hoja que hize yo aparte, pero no interfiere o eso creo, mas que nada porque en el otro ejemplo funciona bien.