I am using the CSS3 Skew transform to create hotspots that fit to specific shapes and when the shape is hovered over with a mouse, text appears over the shape.
I can't seem to figure out why the font-size of the text is dependent on the Skew and Size of the hotspot, even when the font-size is defined using pixels.
Here is my jsFiddle showing the variable font size.
Any idea how to get all the font's the same size? Thanks.
span {
color: #333;
position: absolute;
font-size: 15px; // pixels are getting stretched or something
width: 54px;
height: 25px;
left: 0;
top: 0;
bottom: 0;
right: 0;
margin: auto;
}