摘要:
//驼峰转下划线 function humpToUnderline(str){ return str.replace(/([A-Z])/g,"_$1").toLowerCase() } //下划线转驼峰 function toCamel(str){ return str.replace(/([^_] 阅读全文
摘要:
url: https://www.baidu.com?test=111 let url = new URL(window.location.href);let parameterZ = url.searchParams.get("test");console.log(parameterZ); // 阅读全文
摘要:
box-shadow: 0 0 20px 0 #ffff8d,0 0 0 2px #ffd180,0 0 0 2000px rgba(0,0,0,.2)!important; 效果: 阅读全文