jquery - Changing font size with JavaScript -
i'm trying change font size of letters "se habla espanol".
i'm relatively new javascript. , during process of me playing website got following problem.
this have:
<body> <font color="yellow"> <script> function blinker() { $('.blinking').fadeout(500); $('.blinking').fadein(500); } setinterval(blinker, 1000); </script> <center> <p class="blinking">se habla espanol</p> </center> </font> </body>
i thinking of using following code seems responsive html , not javascript
<font size="+2">this bigger text.</font>
this had in mind work not accurate , taken internet
--this attempted didn't work:
<center> <font size="+2"> <p class="blinking">se habla espanol</p> </font> </center>
if using jquery why not use selector css
$('.blinking').css('font-size' ,' 22px'); // or ever font-size
Comments
Post a Comment