上一页 1 2 3 4 5 6 ··· 9 下一页
摘要: https://codingfantasy.com/games/flexboxadventure/play 学习 flexbox , 效果很好, 时间很短。 https://flukeout.github.io/ 学习 css 选择器。 阅读全文
posted @ 2023-08-15 09:03 svolcano 阅读(101) 评论(0) 推荐(0)
摘要: git 是什么? git 是一个 分布式 、最流行、最先进、2005由 linux torvalds 开发的版本管理系统 。 github、gitlab、Bitbucket 是什么? GitHub是一个面向开源及私有软件项目的托管平台,因为只支持git作为唯一的版本库格式进行托管,故名GitHub。 阅读全文
posted @ 2023-07-27 14:18 svolcano 阅读(84) 评论(0) 推荐(0)
摘要: 下载 python 任何一个版本 ,比如 python3.8 安装 pyenv-win link:https://github.com/pyenv-win/pyenv-win/blob/master/docs/installation.md#add-system-settings 步骤: pip i 阅读全文
posted @ 2023-07-26 15:32 svolcano 阅读(283) 评论(0) 推荐(0)
摘要: VUE 相关的指令: v-html 插入原始的 html const raw_html = "<h1>Hello world</h1> <p v-html="raw_html"></p> <!-- 标签不能再有孩子节点, 有的话会报错 --> v-bind 缩写是 ":" 绑定属性值 demo co 阅读全文
posted @ 2023-07-20 10:35 svolcano 阅读(35) 评论(0) 推荐(0)
摘要: 今天遇到一个问题, css 的父子继承关系在一种case 下不生效。 :子节点 无法 继承 父节点的 width 和 height 的设定 下面代码的原始版本 img 无法继承 div 的 宽和高的设定。 当 img 的 css 设定为: img { height: 100%; width: 100 阅读全文
posted @ 2023-07-19 15:39 svolcano 阅读(112) 评论(0) 推荐(0)
摘要: https://www.regular-expressions.info/unicode.html#prop 解释了: \p 的逻辑。 阅读全文
posted @ 2023-07-17 17:23 svolcano 阅读(35) 评论(0) 推荐(0)
摘要: 摘要: 动态属性的限制 当使用 DOM 内嵌模板 (直接写在 HTML 文件里的模板) 时,我们需要避免在名称中使用大写字母,因为浏览器会强制将其转换为小写: <a :[someAttr]="value"> ... </a> “someAttr” 属性而非 “someattr”,这段代码将不会 阅读全文
posted @ 2023-07-13 13:12 svolcano 阅读(35) 评论(0) 推荐(0)
摘要: 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 阅读全文
posted @ 2023-07-13 11:51 svolcano 阅读(88) 评论(0) 推荐(0)
摘要: 摘要: 我们传入 createApp 的对象实际上是一个组件,每个应用都需要一个“根组件”,其他组件将作为其子组件。 应用根组件的内容将会被渲染在容器元素里面。容器元素自己将不会被视为应用的一部分。 .mount() 方法应该始终在整个应用配置和资源注册完成后被调用。同时请注意,不同于其他资源注册方 阅读全文
posted @ 2023-07-11 11:40 svolcano 阅读(55) 评论(0) 推荐(0)
摘要: 在 环境 nodejs + vscode 的环境下, 使用nodejs 作为 js 的解释器, 在这种环境中直接使用 export/import 是无法正常工作的。 解决方式有两个: 1. npm init -y 胜场 package.json 修改内容增加: "type":"module", { 阅读全文
posted @ 2023-07-10 10:36 svolcano 阅读(364) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 ··· 9 下一页