“CSS Hexagon con texto en el interior” Código de respuesta

CSS Hexagon con texto en el interior

<svg xmlns="http://www.w3.org/2000/svg" version="1.1" width="800px" height="300" xmlns:xlink="http://www.w3.org/1999/xlink">
    <polygon class="hex" points="300,150 225,280 75,280 0,150 75,20 225,20" fill="#fa5" stroke="blue" stroke-width="5" transform="translate(10)"></polygon>
    <text x="160" y="160" 
        font-family="Verdana" 
        font-size="30"
        text-anchor="middle"
    >
    Any Text Here
    </text>  
</svg>
Hungry Hare

CSS Hexagon con texto en el interior

<svg xmlns="http://www.w3.org/2000/svg" version="1.1" width="900px" height="100" xmlns:xlink="http://www.w3.org/1999/xlink">
    <polygon class="hex" points="300,150 225,280 75,280 0,150 75,20 225,20" fill="#fa5" stroke="blue" stroke-width="5" transform="translate(10)"></polygon>
    <text x="160" y="160" 
        font-family="Verdana" 
        font-size="30"
        text-anchor="middle"
    >
    Any Text Here
    </text>  
</svg>
Hungry Hare

Respuestas similares a “CSS Hexagon con texto en el interior”

Preguntas similares a “CSS Hexagon con texto en el interior”

Más respuestas relacionadas con “CSS Hexagon con texto en el interior” en CSS

Explore las respuestas de código populares por idioma

Explorar otros lenguajes de código