获取元素 jQuery的基本设计思想和主要用法,就是选择某个网页元素,然后对其进行操作。 css选择器 $(document) 选择整个文档 $('#myId') 选择id为#id的网页元素 $('div.myClass') 选择class为myClass的选择器 $('input[name=min ...
分类:
Web程序 时间:
2020-12-18 12:36:50
阅读次数:
2
public partial class MaterialsForm : Form { DataTable dtMaterial = new DataTable(); DataTable dtMaterialBill = new DataTable(); public MaterialsForm() ...
分类:
其他好文 时间:
2020-12-18 12:26:46
阅读次数:
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
1.首先安装highcharts npm install highcharts --save 2.代码引入 //可以根据实际需求来引入对应的包 import Highcharts from 'highcharts/highstock'; import HighchartsMore from 'hig ...
分类:
其他好文 时间:
2020-12-17 12:41:04
阅读次数:
2
前言 码云地址:https://gitee.com/Clinjiahao/personal-blog 这是一个挺好的一个SpringBoot练手项目。 该项目是自适应、简洁、美观、易于文章管理发布的一个属于我的个人博客。主要实现了主页博客汇总,以列表形式展示 文章、发布日期、分类情况以及文章摘要等等 ...
分类:
编程语言 时间:
2020-12-17 12:15:19
阅读次数:
2
gitee地址 https://gitee.com/ElevenHuntOne/js-image-slide html <!-- html里只用写一个div就行了,带上id为imgs --> <div id = "imgs"></div> css /* 样式 */ #imgs { margin-le ...
分类:
Web程序 时间:
2020-12-16 12:59:49
阅读次数:
7
1.根据屏幕大小改变背景颜色 <style type="text/css"> /* 媒体查询可以根据不同的屏幕尺寸改变不同的样式 */ /* 屏幕最大宽度就是800像素 */ @media screen and (max-width: 399px) { body { background: pink ...
分类:
其他好文 时间:
2020-12-16 12:28:25
阅读次数:
3