随笔分类 -  h5

摘要:学习笔记来源网:https://www.w3cplus.com/content/css3-gradient 起始点(Starting Point)的工作方式类似于background position。您可以设置水平和垂直位置为百分比,或以像素为单位,或在水平方向上可以使用left/center/r 阅读全文
posted @ 2018-03-06 11:17 yaomengli 阅读(164) 评论(0) 推荐(0) 编辑
摘要:学习网 笔记网:https://www.w3cplus.com/css3/css3-box-reflect.html 特别提示:在此示例中,我们为倒影提供了一个空白区,如果没有提供空白区,将没有任何效果显示。在上面的示例基础上做一下修改,我把.box-reflect的margin做一下修改:著作权归 阅读全文
posted @ 2018-03-06 10:16 yaomengli 阅读(191) 评论(0) 推荐(0) 编辑
摘要:angular js表单验证 阅读全文
posted @ 2017-05-19 22:50 yaomengli 阅读(176) 评论(0) 推荐(0) 编辑
摘要:勾选复选框按钮可用否则不可用function check(){ var chec=document.getElementById("chec"); if(chec.checked==true){ alert(1111) document.getElementById("btn").removeAtt 阅读全文
posted @ 2017-05-19 11:30 yaomengli 阅读(1334) 评论(0) 推荐(0) 编辑
摘要:正则验证表单window.onload=function(){ var user=document.getElementById("name"); user.onblur=function(){ if(user.value){ user.setCustomValidity("");//现将有输入时的 阅读全文
posted @ 2017-05-19 10:24 yaomengli 阅读(1253) 评论(0) 推荐(0) 编辑
摘要:<button type="button" class="mui-btn mui-btn-primary mui-btn-outlined mui-pull-right" id="yanzm">获取验证码</button> $("#yanzm").on('click',function(){ var 阅读全文
posted @ 2017-05-08 11:19 yaomengli 阅读(295) 评论(0) 推荐(0) 编辑
摘要:点击按钮btn 打开新的页面 document.getElementsByClassName("btn")[0].addEventListener('tap',function(){ mui.openWindow({ url:'qiandao-2.html', id:'qiandao-2', }) 阅读全文
posted @ 2017-05-02 13:10 yaomengli 阅读(868) 评论(0) 推荐(0) 编辑
摘要:<!doctype html><html> <head> <meta charset="UTF-8"> <title></title> <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1, 阅读全文
posted @ 2017-04-28 17:16 yaomengli 阅读(405) 评论(0) 推荐(0) 编辑
摘要:<!DOCTYPE html><html><head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta name="viewport" content="initial-scale=1.0, us 阅读全文
posted @ 2017-04-28 15:39 yaomengli 阅读(1580) 评论(0) 推荐(0) 编辑
摘要:<!doctype html><html> <head> <meta charset="UTF-8"> <title></title> <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1, 阅读全文
posted @ 2017-04-28 15:38 yaomengli 阅读(206) 评论(0) 推荐(0) 编辑
摘要:var $img1 = $(".fashion .fashion-img img");$img1.hover(function () { $img1.css("animation-play-state", " paused")}, function () { $img1.css("animation 阅读全文
posted @ 2017-04-14 16:22 yaomengli 阅读(134) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示