摘要:
<!DOCTYPE html><html> <head> <meta charset="UTF-8"> <title></title> <style type="text/css"> .demo1::selection { color: #fff; background: #ff5e2c; } .d 阅读全文
摘要:
/*使用 button::after{ border: none; } 来去除边框*/ .free-btn-bordernone{ background: none !important; color: #000 !important; } .free-btn-bordernone::after{ 阅读全文
摘要:
//这个是核心方法 function generateTree($items){ $tree = array(); foreach($items as $item){ if(isset($items[$item['pid']])){ $items[$item['pid']]['son'][] =& $items[$item['id']]... 阅读全文
摘要:
<!DOCTYPE html><html> <head> <meta charset="utf-8" /> <title></title> </head> <body> <div id="check"> <input type="checkbox" onclick="checkAll(this)"> 阅读全文
摘要:
<!DOCTYPE html><html> <head> <meta charset="UTF-8"> <title></title> <style> .order_details { margin-top: 48px; } .order_details ul { margin: 0px; padd 阅读全文
摘要:
1.使用overflow: hidden把超出的内容进行隐藏; 2.然后使用white-space: nowrap设置内容不换行; 3.最后使用text-overflow: ellipsis设置超出内容为省略号 <!DOCTYPE html><html> <head> <meta charset=" 阅读全文
摘要:
第一种方法简单粗暴 微信浏览器打开网址“http://debugx5.qq.com”,勾选如下设置(只支持安卓): 第二种方法可能用户体验不会太好 在html页面的head中加入如下代码: <meta http-equiv="Cache-Control" content="no-cache, no- 阅读全文