This query do all the transformations but not the "first-letter", is there a specific way to do it:
here is my script:
function()
{
var o = this;
$('li').on('mouseover', function(event){
var el = $(event.target).parent().children()['1'];
$(el).css({
"background" : "#483D8B",
"letter-spacing" : "2px",
"text-transform" : "uppercase"
});
});
$('li').on('mouseout', function(event){
var el = $(event.target).parent().children()['1'];
$(el).css({
"letter-spacing" : "0px",
"text-transform" : "lowercase",
"first-letter" : "uppercase",
"background" : "#4682B4"
});
});
},
and the concerned Html:
s[i++] = '<li>';
s[i++] = '<img id=\"'+ ConcernedText[j].name +'\" src="../renderer/bundles/' + ConcernedText[j].icon + '" width="268" height="120" style="display:block"\" />';
s[i++] = '<a>'+ ConcernedText[j].name + '</a>';
s[i++] = '</p><!----><p>'
s[i++] = '</li>';
is there another way while calling this property like a:first-letter{ text-transform : uppercase }, if so what should be the syntax in Jquery?