一 . 安装 在命令行中执行: 使用npm或者cnpm安装 npm install animate.css --save 或 cnpm install animate.css --save 使用yarn安装 yarn add animate.css 二. 引入 在main.js全局引入 import ...
分类:
Web程序 时间:
2020-12-19 12:10:47
阅读次数:
3
参考博客 https://blog.csdn.net/weixin_34119545/article/details/91389878 1.npm install ant-design-vue --save 2.src/man.js 引入 import Antd from 'ant-design-v ...
分类:
其他好文 时间:
2020-12-19 12:09:54
阅读次数:
1
1.JavaScript简介 **JavaScript ** 是什么?(重点) Js是一种专门为网页交互设计的客户端(浏览器端)的脚本语言; Js与html和css有相似之处,都在浏览器端解析; Js和java,c#,php等一样,是一门真正的编程语言 javaScript简称js 小故事:js的创 ...
分类:
编程语言 时间:
2020-12-19 11:51:24
阅读次数:
4
一、transform 转换属性 #1. translate位移 transform : translate(50px,100px); //把元素水平移动 50 像素,垂直移动 100 像素 transform : translateX(50px); //把元素水平移动 50 像素 transfor ...
分类:
移动开发 时间:
2020-12-19 11:36:02
阅读次数:
1
BFC是什么? 块格式化上下文(Block Formatting Context,BFC) 是Web页面的可视CSS渲染的一部分,是块盒子的布局过程发生的区域,也是浮动元素与其他元素交互的区域。 I know it when I see it 所以,虽然我不知道什么是BFC,但是写出样式,我就能知道 ...
分类:
其他好文 时间:
2020-12-18 12:57:58
阅读次数:
3
获取元素 jQuery的基本设计思想和主要用法,就是选择某个网页元素,然后对其进行操作。 css选择器 $(document) 选择整个文档 $('#myId') 选择id为#id的网页元素 $('div.myClass') 选择class为myClass的选择器 $('input[name=min ...
分类:
Web程序 时间:
2020-12-18 12:36:50
阅读次数:
2
修改app.component.ts: @Component({ selector: 'app-root', templateUrl: './app.component.html', styleUrls: ['./app.component.scss'], encapsulation:ViewEnc ...
分类:
Web程序 时间:
2020-12-18 12:26:17
阅读次数:
3
css background属性连写 依次的顺序为: background:color img_url repeat position / size 颜色, 地址, 平铺, 位置/size ...
分类:
其他好文 时间:
2020-12-18 12:25:39
阅读次数:
3
在《DarkMode(1):产品应用深色模式分析》提过,单纯反转是不行的。但是,把不需要反转的,在反转过来。或者用js,给想要反转的,加上反转样式,再对其他的做微调。这样个人觉得,开发成本是最低的@media(prefers-color-scheme:dark){//one.app{filter:invert(1)hue-rotate(180deg);img,button,.active{//fi
分类:
Web程序 时间:
2020-12-17 13:10:01
阅读次数:
6
p1 样式表分类(位置) /* 行内式 */ <div style="color:red" ></div> /* 内嵌式 */ <head> <style></style> </head> /* 外部式 */ /* link 标签给他们建立连接 */ 常见文字CSS属性 字体 font-size 别 ...
分类:
Web程序 时间:
2020-12-17 12:52:45
阅读次数:
5