Witam!
Mam problem iż po podpięciu CSS-a z fontello i zaaplikowaniu ikonki do html-a ikonka działa jest tylko problem, że nie mogę zmienić wielkości tego. Używam font-size:72px; w CSS-sie "fontellowym" i nic.
#zegar { float:right; font-family: 'Josefin Sans', sans-serif; font-size:70px; } .tile1 { background-color:#87CEFA; float:left; width:240px; height:142px; margin:5px; } .tile2 { background-color:#000000; float:left; width:240px; height:142px; margin:5px; } .tile3 { background-color: #FF6347; width:490px; height:142px; margin:5px; } .tile4 { background-color: #48D1CC; width:700px; height:294px; margin:5px; } .rectangle2 { font-family: 'Josefin Sans', sans-serif; font-size:30px; }
font-variant: normal; text-transform: none; /* fix buttons height, for twitter bootstrap */ line-height: 1em; /* Animation center compensation - margins should be symmetric */ /* remove if not needed */ margin-left: .2em; /* you can be more comfortable with increased icons size */ /* font-size: 120%; */ /* Font smoothing. That was taken from TWBS */ -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; /* Uncomment for 3D effect */ /* text-shadow: 1px 1px 1px rgba(127, 127, 127, 0.3); */ } .icon-youtube:before { content: '\e800';font-size:76px; } /* '' */ .icon-user:before { content: '\e801';font-size:76 px; } /* '' */ .icon-info:before { content: '\e802'; } /* '' */ .icon-mouse:before { content: '\e803'; } /* '' */ .icon-logout:before { content: '\e804'; } /* '' */ .icon-facebook-squared:before { content: '\f30e'; } /* '' */
<div id="logo"></div> <div id="zegar">12:00</div> <div style="clear:both;"></div> </div> <div class="square"> <div class="tile1">facebook</div> <div class="tile1"><i class="icon-youtube"></i> </div> </div> <div style="clear:both;"></div> <div class="square"> <div class="tile2"> <i class="icon-info"></i> </div> <div class="tile2"> <i class="icon-user"></i> </div> <div style="clear: both;"></div> <div class="tile3">3</div> </div> <div class="square"> <div class="tile4">4</div> </div> <div class="rectangle2"> </div> </div> </body> </html>