开发者

Text characteristics identifier

I need an app where开发者_开发技巧 I can just copy a block of text and have it identify the typeface, color, size, etc. Is there such a thing?


The JQuery css() function would be great for this. You would just need to build a function that checks for the CSS properties you are looking for and return them.

$(document).ready(function(){

var test = $('p').css('font-family');

alert(test);

});

Demo here: http://jsbin.com/ecedolink text

Here is documentation on the JQuery CSS function: http://api.jquery.com/css/

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜