早睡早起,方能养生
Sleep early rise early, way to keep healthy

jQuery获取到指定的CSS样式

super
2021-03-05 12:30
views 2503

 <div id="super" style="display: none; width: 20px;">
 	
 </div>

 

获取到指定的css样式

 

$('#super').css('display'); // none
$('#super').css('width'); // 20px

 



分享
0 条讨论
top