摘要: 自学总结 1.图片去背景: 套索工具、ctrl+x、ctrl+shift+v(在原来位置粘贴) 2.改颜色: 方法1:魔棒工具、delete、ctrl+d、ctrl+u 方法2:右下角fx、颜色叠加、选择颜色 3.改图片尺寸: 新建画布改尺寸、图片拖到画布、ctrl+t(图片可缩放)、alt+shi 阅读全文
posted @ 2020-03-13 10:38 blue星期天 阅读(204) 评论(0) 推荐(0) 编辑
摘要: 一:更新npm 1.查看当前版本npm v 2.根据官网(https://www.npmjs.com/get npm)提供的命令更新: npm install npm@latest g 3.我的电脑出现了如下错误: C:\Users\lenovo\AppData\Roaming\npm\node_m 阅读全文
posted @ 2018-10-27 15:38 blue星期天 阅读(802) 评论(0) 推荐(2) 编辑
摘要: 安装淘宝镜像cnpm $ npm install g cnpm registry=https://registry.npm.taobao.org $ npm config set registry https://registry.npm.taobao.org 阅读全文
posted @ 2018-10-27 14:51 blue星期天 阅读(644) 评论(0) 推荐(0) 编辑
摘要: js转换文件 / 说明:100px=1rem / + function() { remLayout(); function remLayout() { var w = document.documentElement.clientWidth; w = w 768 ? 768 : w; w = w < 阅读全文
posted @ 2018-08-02 17:02 blue星期天 阅读(3678) 评论(0) 推荐(0) 编辑
摘要: 1.数租去重 var arr1 = [1, 2, 2, 2, 3, 3, 3, 4, 5, 6], arr2 = []; for(var i = 0, len = arr1.length; i < len; i++) { if(arr2.indexOf(arr1[i]) < 0) { arr2.pu 阅读全文
posted @ 2018-08-01 16:37 blue星期天 阅读(162) 评论(0) 推荐(0) 编辑
摘要: js函数 function ahkeji_com(lbound, ubound) { return(Math.floor(Math.random() (ubound lbound)) + lbound); } html使用 好评: ( document.write(ahkeji_com(80, 20 阅读全文
posted @ 2018-08-01 08:51 blue星期天 阅读(149) 评论(0) 推荐(0) 编辑
摘要: html Lorem ipsum dolor sempore dus. 2018 7 27 Lorem ipsum dolor sempore dus. 2018 7 27 Lorem ipsum dolor sempore dus. 2018 7 27 Lorem ipsum dolor semp 阅读全文
posted @ 2018-07-27 14:54 blue星期天 阅读(189) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html <! jquery $(function() { // 悬浮窗口 $(".yb_conct").hover(function() { $(".yb_conct").css("right", "5px"); $(".yb_bar .yb_ercode").css('hei 阅读全文
posted @ 2018-07-27 11:27 blue星期天 阅读(384) 评论(0) 推荐(0) 编辑
摘要: 方法1(head里面写): <! pc转移动 function checkserAgent() { var userAgentInfo = navigator.userAgent; var userAgentKeywords = new Array("Android", "iPhone", "Sym 阅读全文
posted @ 2018-07-25 17:24 blue星期天 阅读(249) 评论(0) 推荐(0) 编辑
摘要: html <! 左侧定位开始 1 2 3 4 5 6 7 8 9 0 </form $(function(){ $(".pcLefttel65").mouseover(function() { $(".pcLeftkey65").stop().animate({ "left": "0px" }, 1 阅读全文
posted @ 2018-07-25 16:48 blue星期天 阅读(208) 评论(0) 推荐(0) 编辑