摘要: 使用 :not() 在菜单上应用/取消应用边框 给body添加行高 所有一切都垂直居中 逗号分隔的列表 使用负的 nth-child 选择项目 对图标使用SVG 优化显示文本 对纯CSS滑块使用 max-height 继承 box-sizing 表格单元格等宽 用Flexbox摆脱外边距的各种hac 阅读全文
posted @ 2019-03-12 12:27 wxxwjef 阅读(121) 评论(0) 推荐(0)
摘要: 选择本地图片并将所选图片显示 原始组件样式如下 美化方法之一,将选择图片的input的css设置为如下,浮动定位且宽高占比100%,覆盖在需要点击的地方,例如默认图片上。 阅读全文
posted @ 2019-03-08 13:11 wxxwjef 阅读(4010) 评论(0) 推荐(0)
摘要: 1.从官网下载node.js并安装。 2.有不少人反映使用此命令安装Electron不成功,可能是国外镜像的问题。 3.可以选择使用淘宝npm开发的cnpm进行安装。 4.准备好一个前端web项目(包含html,css,js等的) 5.web项目的目录应该是 6.package.json的内容 7. 阅读全文
posted @ 2019-02-19 16:56 wxxwjef 阅读(1959) 评论(0) 推荐(0)
摘要: var arr = new Array({"name": "wxx", "age": 2}, {"name": "wyw", "age": 6});var index = arr.findIndex(function(item) { return item.name "wyw";});console 阅读全文
posted @ 2018-05-18 08:49 wxxwjef 阅读(1582) 评论(0) 推荐(0)
摘要: pom中spring-boot-starter-parent版本原2.0.1,改成1.4.2就好了 <parent> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-parent</artifac 阅读全文
posted @ 2018-04-23 09:42 wxxwjef 阅读(204) 评论(0) 推荐(0)
摘要: <html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><title>两列式全屏布局</title> <style type="text/css">html, body {margin: 0;p 阅读全文
posted @ 2018-03-30 09:43 wxxwjef 阅读(226) 评论(0) 推荐(0)
摘要: js框架为vue,通过vue去循环生成layui-col-md2;<div class="layui-row layui-col-space1"> <template v-for="(item, index) in coursewares" v-cloak> <div class="layui-co 阅读全文
posted @ 2018-03-30 09:42 wxxwjef 阅读(6084) 评论(0) 推荐(0)