Hi, I have a website in bootstrap and want the font to be responsive. The banner is perfect and responsive, however the font stays a fixed size.
The font I am referring to is the three in <ul> twitter, reseller, facebook.
( Disclaimer: I am not a web designer, I'm learning as we go along )
{In the CSS I used a.text, becuase I have other a references that needs to stay unchanged}
HTML:
CSS:
The font I am referring to is the three in <ul> twitter, reseller, facebook.
( Disclaimer: I am not a web designer, I'm learning as we go along )
{In the CSS I used a.text, becuase I have other a references that needs to stay unchanged}
HTML:
HTML:
<div class="row">
<div class="col-md-6">
<ul>
<li><a href="https://twitter.com/" class="text" target="_blank">Twitter</a></li>
<li><a href="reseller.html" class="text" target="_blank">Reseller</a></li>
<li><a href="https://www.facebook.com/" class="text" target="_blank">Facebook</a></li>
</ul>
</div>
<div class="col-md-6">
<img src="/img/banner.png" class="img-responsive" alt="Responsive image">
</div>
</div>
CSS:
HTML:
@font-face {
font-family: 'ChunkFiveRegular';
src: url('http://www.midwinter-dg.com/blog_demos/css3-buttons/chunkfive-webfont.eot');
src: url('http://www.midwinter-dg.com/blog_demos/css3-buttons/chunkfive-webfont.eot?iefix') format('eot'),
url('http://www.midwinter-dg.com/blog_demos/css3-buttons/chunkfive-webfont.woff') format('woff'),
url('http://www.midwinter-dg.com/blog_demos/css3-buttons/chunkfive-webfont.ttf') format('truetype'),
url('http://www.midwinter-dg.com/blog_demos/css3-buttons/chunkfive-webfont.svg#webfont6hibqX7I') format('svg');
font-weight: normal;
font-style: normal;
}
a.text:link, a.text:visited {
color: #555;
text-decoration: none;
}
a.text:hover, a.text:active {
color: #0080ff;
}
/* button styles */
li {
list-style-type: none;
}
/* Font color */
a.text:link, a.text:visited {
color: #fff;
text-shadow: 0px 1px 0px #999, 0px 2px 0px #888, 0px 3px 0px #777, 0px 4px 0px #666, 0px 5px 0px #555, 0px 6px 0px #444, 0px 7px 0px #333, 0px 8px 7px #001135;
font: 60px/60px 'ChunkFiveRegular';
display: inherit;
}
a.text:hover {
text-shadow: 0 0 10px #FF0000, 0px 1px 0px #999, 0px 2px 0px #888, 0px 3px 0px #777, 0px 4px 0px #666, 0px 5px 0px #555, 0px 6px 0px #444, 0px 7px 0px #333, 0px 8px 7px #001135;
}
a.text:active {
text-shadow: 0px 1px 0px #999, 0px 2px 0px #888, 0px 3px 0px #777, 0px 5px 7px #001135;
margin-top: 4px;
line-height: 56px;
color: #FF1919;
}
Last edited: