- () Method returns the element with style properties css
$("div").css("padding-left"));
- () Set the style with css
$("div").css("color","yellow");
- Setting multiple styles
$("div").css({"background-color":"yellow","font-size":"200%"});
jquery css attributes provided in several ways
Guess you like
Origin www.cnblogs.com/bneglect/p/11019557.html
Recommended
Ranking