ziven27

Results 50 comments of ziven27

> It looks like webpack 5 has deprecated the MultiEntryPlugin. The fix isn't too bad, but there's several other changes in webpack 5 that break this plugin. I have a...

> 请问,在使用modern版本时,缺少all.js文件,有什么替代方案吗 ![image](https://user-images.githubusercontent.com/7261176/82036964-19e6a300-96d4-11ea-87fc-f9ee130b9bd7.png) 缺少 all.js 引用一下?

> 选项卡切换效果失效 这个失效的是哪个版本的哪个地址呢?

### 预览图 ![image](https://user-images.githubusercontent.com/7261176/72730271-031fbc00-3bcc-11ea-9c69-6638f52c5e9a.png) DEMO:[JSBIN](https://output.jsbin.com/xaxuhid) ```CSS /*writing-mode*/ .box{ margin: 0; font-size: 0; height: 216px; max-width: 100%; overflow:auto; writing-mode: vertical-lr; } .box a{ margin-right: 8px; margin-bottom: 8px; display: inline-block; } /* flex...

JSBIN:[点我](https://jsbin.com/cohibav/edit?html,js,output) ```js //zxx: 为什么键盘事件在列表DOM上,autocomplete冲突可以阻止默认行为,或者设置属性值为off ``` @zhangxinxu 我可能理解错题意了,因为第一题是点击一个列表然后在输入框中显示文案,第二题我理解为直接在这个列表选中状态下进行上下键操作😂 ```HTML li.selected { background-color: red; } 列表1 列表2 列表3 列表41 列表42 var domInput = document.getElementById("input"); var domList = document.getElementById("list"); var fnSelectThisItem = function...

```JS (function () { var timer; function run520(params) { if ( new Date().setFullYear(1900) - new Date(1900, 4, 20, 13, 14) === 0 ) { console.log("happy dog!"); // 只显示一次 clearInterval(timer); }...

正则是我的弱项,打个卡,惭愧了

在线DEMO: [jsbin](https://output.jsbin.com/meqoluw) > 并没有实现 移动中的效果,只判断结束时候的状态 ```HTML JS Bin .ele{ min-height: 100px; background-color:rgba(255,0,0,0.4); padding:8px; } ``` ```JS var eleA = document.getElementById("eleA"); var eleB = document.getElementById("eleB"); document.addEventListener("touchend", function (e) { // 移动的是...

DEMO: [JSBIN](https://jsbin.com/juxaluk/edit?html,css,output) ```CSS .step { padding: 0; margin: 0; list-style: none; font-size: 0; overflow: auto; white-space: nowrap; position: relative; } .step a { color: inherit; text-decoration: none; } /* 拓展可点击区域...

![image](https://user-images.githubusercontent.com/7261176/62630516-adc75980-b961-11e9-87fe-03a19a0d0b53.png) JS Bin地址: [点我](https://jsbin.com/lelayom/1/edit?html,css,output) 能想到的纯 CSS 实现该效果方法: 1. `input:checked`: 用 `label` `for` 触发对应 id 的 `input` `checked` 属性; 2. `details[open]`:用 `summary` 触发 details 的 open「 兼容性要求较高 」; 3. `.acc-bd:target`: 用...