hi ;
when we add css with css() function,
then where it places that css?
in inline or in css-file ?
thanks
It places the css inline in the style attribute of the selected element.
e.g.
<div class='element' style='display:none'>test</div>
It would be better in most cases to add classes with Js and then use css to control the appearance. Unless it was some sort of constant dynamic effect.
2 Likes
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.