input - Increase font size with jquery -


i'm attempting run split test optimizely , need increase size of font used description text in site search's search field.

i've managed change color using code:

$("input[value]").css({"color":"#cc0000"}); 

but if add on font-size nothing happens? i.e.

$("input[value]").css({"color":"#cc0000", "font-size" : "1.9rem"}); 

i've tried following still doesn't seem work??

$("input").css({"font-size" : "1.9rem"}); 

it looks have !important on riding changes made using .css() function. following.

$("input")     .css({         'csstext':'font-size:1.9rem !important',         'color':'#cc0000'     }); 

demo


Comments

Popular posts from this blog

yii2 - Yii 2 Running a Cron in the basic template -

asp.net - 'System.Web.HttpContext' does not contain a definition for 'GetOwinContext' Mystery -

mercurial graft feature, can it copy? -