Open RongBranovate opened 9 years ago
Hi @RongBranovate
If you use latest version of jqlite (v0.2.4), you can do following:
$('.myClass').css({
textIndent: '-9999px',
width: '16px',
height: '16px',
border: 'none',
marginLeft: 15,
marginRight: 15,
cursor: 'pointer'
});
basically replace css properties by camelCase version, not sure if you can reach an element with '::-webkit-slider-thumb' selector
thanks for your feedback @RongBranovate !!
css.js is just a single tool to transform a css string into html:
article#item-id.parent.element[data-some="attribute"] section.post a.link
to
<article id="item-id" class="parent element" data-some="attribute"><section class="post"><a class="link"></a></section></article>
Hi @jgermade , yeah, i understand, and you ware right... you can't use psudo elements in jquery .css() function... too bad :(
Hi @jgermade !
You may remember me from the jqlite project. I am looking for a way to inject CSS through JS dynamically and i was wondering, can i use this library with jqlite? And if so, can i have some examples? How would you add this code:
and this:
thanks in advance!