随笔分类 - 前端学习
摘要:Free Cloud Stickers, + 278 stickers (SVG, PNG) | Flaticon https://www.flaticon.com/free-stickers/cloud Cloud Icons & Symbols (flaticon.com)
阅读全文
摘要:At the byte level, X.509 is X.509 and there is no reason why the free SSL certificates would be any better or worse than the non-free -- the price is
阅读全文
摘要:https://codingfantasy.com/games/flexboxadventure/play 学习 flexbox , 效果很好, 时间很短。 https://flukeout.github.io/ 学习 css 选择器。
阅读全文
摘要:VUE 相关的指令: v-html 插入原始的 html const raw_html = "<h1>Hello world</h1> <p v-html="raw_html"></p> <!-- 标签不能再有孩子节点, 有的话会报错 --> v-bind 缩写是 ":" 绑定属性值 demo co
阅读全文
摘要:今天遇到一个问题, css 的父子继承关系在一种case 下不生效。 :子节点 无法 继承 父节点的 width 和 height 的设定 下面代码的原始版本 img 无法继承 div 的 宽和高的设定。 当 img 的 css 设定为: img { height: 100%; width: 100
阅读全文
摘要:摘要: 动态属性的限制 当使用 DOM 内嵌模板 (直接写在 HTML 文件里的模板) 时,我们需要避免在名称中使用大写字母,因为浏览器会强制将其转换为小写: <a :[someAttr]="value"> ... </a> “someAttr” 属性而非 “someattr”,这段代码将不会
阅读全文
摘要:eg. number of donuts = 34 snake case:Snake case separates each word with an underscore character (_). When using snake case, all letters need to be lo
阅读全文
摘要:摘要: 我们传入 createApp 的对象实际上是一个组件,每个应用都需要一个“根组件”,其他组件将作为其子组件。 应用根组件的内容将会被渲染在容器元素里面。容器元素自己将不会被视为应用的一部分。 .mount() 方法应该始终在整个应用配置和资源注册完成后被调用。同时请注意,不同于其他资源注册方
阅读全文
摘要:在 环境 nodejs + vscode 的环境下, 使用nodejs 作为 js 的解释器, 在这种环境中直接使用 export/import 是无法正常工作的。 解决方式有两个: 1. npm init -y 胜场 package.json 修改内容增加: "type":"module", {
阅读全文

浙公网安备 33010602011771号