var = ["弱","中","强","超强"]; function checkStrong(val) { var modes = 0; if (val.length < 6) return 0; if (/\d/.test(val)) modes++; //数字 if (/[a-z]/.test( ...
分类:
其他好文 时间:
2020-03-22 23:55:29
阅读次数:
249
@charset "utf-8";html{background-color:#fff;color:#000;font-size:12px} body,ul,ol,dl,dd,h1,h2,h3,h4,h5,h6,figure,form,fieldset,legend,input,textarea,b ...
分类:
Web程序 时间:
2020-03-22 15:51:26
阅读次数:
446
CSS控制背景 背景 background:颜色 图片 平铺方式 固定方式 位置 背景颜色 background-color:red; 背景图像 background-image:url(背景图像的位置及全称) 背景图片的重复方式 background-repeat:[repeat、no-repea ...
分类:
Web程序 时间:
2020-03-22 13:36:02
阅读次数:
70
Foreword 上一篇简单介绍了webpack的打包功能,应该说是比较无意义的打包,对于开发人员来说,这种效率是非常低的。所以我们来点升华。 First Step 我们给第一篇例子中加个样式文件我们 style.css body { background: yellow; } 然后修改 entry ...
分类:
Web程序 时间:
2020-03-21 21:40:03
阅读次数:
83
找了好多,就这个挺好使的 <body background="./img/a3.jpg" style=" background-repeat:no-repeat ; background-size:100% 100%; background-attachment: fixed;"> ...
分类:
编程语言 时间:
2020-03-21 17:56:33
阅读次数:
110
显示效果 显示效果 css代码如下 1 div{ 2 width: 100px; 3 height: 100px; 4 background-color: blue; 5 transition: width 2s,height 2s,transform 2s; 6 -webkit-transitio ...
分类:
Web程序 时间:
2020-03-21 15:08:54
阅读次数:
75
三栏布局,中间自适应这个经典的问题,之前也看了很多。今天准备在自己的博客里面总结一下,加深自己的理解。 方式一:左边左浮动,右边右浮动,中间自适应 <style> .left{ float: left; height: 200px; width: 200px; background-color: a ...
分类:
其他好文 时间:
2020-03-21 00:06:46
阅读次数:
54
input:-webkit-autofill { -webkit-text-fill-color: #141313 !important; -webkit-box-shadow: 0 0 0px 1000px transparent inset !important; background-colo ...
分类:
其他好文 时间:
2020-03-20 10:43:27
阅读次数:
72
一、基本控件介绍 1、Android中所有控件的顶层基类view的常用属性: android:id设置控件的标识符号 android:layout_width设置子组件的布局宽度 android:layout_height设置子组件的布局高度 android:background设置控件的背景色 a ...
分类:
移动开发 时间:
2020-03-19 17:43:43
阅读次数:
86
Android Q 之后,都不能使用 startActivity 在后台启动了。 详情见:https://developer.android.google.cn/guide/components/activities/background-starts?hl=zh-cn 可以使用fullscreen ...
分类:
移动开发 时间:
2020-03-16 15:04:43
阅读次数:
264