https://code.jquery.com/jquery-3.3.1.js
https://cdn.bootcss.com/jquery/2.1.4/jquery.min.js
https://cdn.bootcss.com/bootstrap/3.3.5/css/bootstrap.min.css
https://cdn.bootcss.com/bootstrap/3.3.5/js/bootstrap.min.js
https://cdn.bootcss.com/echarts/4.1.0.rc2/echarts.js
https://cdn.bootcss.com/echarts/4.1.0.rc2/echarts.min.js
https://cdn.bootcss.com/vue/2.5.2/vue.min.js
https://cdn.bootcss.com/vue-router/3.0.1/vue-router.min.js
https://cdn.bootcss.com/vuex/3.0.1/vuex.min.js
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/Swiper/3.x.x/css/swiper.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/Swiper/3.x.x/css/swiper.min.css">
<script src="https://cdnjs.cloudflare.com/ajax/libs/Swiper/3.x.x/js/swiper.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/Swiper/3.x.x/js/swiper.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/Swiper/3.x.x/js/swiper.jquery.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/Swiper/3.x.x/js/swiper.jquery.min.js"></script>
https://cdn.bootcss.com/font-awesome/5.8.1/css/fontawesome.min.css
https://cdn.staticfile.org/font-awesome/4.7.0/css/font-awesome.css
http://chandlerprall.github.io/Physijs/examples/js/three.min.js
https://www.haorooms.com/nav#1
点点
overflow: hidden;
display: -webkit-box;
text-overflow: ellipsis;
-webkit-box-orient: vertical;
-webkit-line-clamp: 2;
修改默认的滚动条样式
1 /*滚动条样式*/ 2 /*定义滚动条高宽及背景 高宽分别对应横竖滚动条的尺寸*/ 3 4 ::-webkit-scrollbar { 5 width: 10px; 6 height: 10px; 7 background-color: #F5F5F5; 8 } 9 /*定义滚动条轨道 内阴影+圆角*/ 10 11 ::-webkit-scrollbar-track { 12 -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3); 13 border-radius: 10px; 14 background-color: #F5F5F5; 15 } 16 /*定义滑块 内阴影+圆角*/ 17 18 ::-webkit-scrollbar-thumb { 19 border-radius: 10px; 20 -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, .3); 21 background-color: #555; 22 }
a标签默认样式去掉
a { text-decoration: none; color: #333; }
解决跨域
--disable-web-security --user-data-dir
模板代码:
ajax
1 $.ajax({ 2 url: 'url', 3 type: "post", 4 dataType: "json", 5 data: {}, 6 cache: false, 7 async: false, 8 success: function(res) { 9 10 }, 11 error: function(res) {} 12 }),
解决github卡的问题
151.101.113.194 github.global.ssl.fastly.net 192.30.253.112 github.com Mac:sudo vi /etc/host,然后输入电脑的密码,打开host文件。 window:C:\Windows\System32\drivers\etc\hosts Linux:vim \etc\hosts 3.更新DNS缓存,使增加的映射生效。 Mac:sudo dscacheutil -flushcache Window:ipconfig /flushdns Linux:/etc/init.d/dns-clean
three.js
https://www.cnblogs.com/catherinezyr/p/7047465.html