前端笔记

HTML5 & JavaScript & CSS

节点属性操作

  • 修改节点某个style
1
$('#test').css('display', 'block');
  • 删除节点某个style
1
$('#test').css('display', '');
  • 删除节点所有sytle
1
$('#test').removeAttr("style")

BUGs

mysql bug:

1
RuntimeError: cryptography is required for sha256_password or caching_sha2_password

fix:

1
pip install cryptography