上一页 1 ··· 16 17 18 19 20 21 22 23 24 ··· 40 下一页
  2019年5月17日
摘要: <!doctype html><html><head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-sca 阅读全文
posted @ 2019-05-17 16:22 Web引领者 阅读(223) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html><html><head> <meta charset="UTF-8"> <title>Title</title> <style> #c{ background:#ccc; } </style></head><body> <canvas id="c" width="600 阅读全文
posted @ 2019-05-17 13:52 Web引领者 阅读(290) 评论(0) 推荐(0) 编辑
  2019年5月16日
摘要: swiper是一个非常强大的组件 但是需要swiper-item这个标签来实现他想显示的内容 swiper-item标签有个item-id的属性,属性值:字符串 是swiper-item的标识符; 一个swiper标签只能显示一个swiper子元素的内容,所以说一个swiper-item就相当于一个 阅读全文
posted @ 2019-05-16 21:10 Web引领者 阅读(6047) 评论(0) 推荐(0) 编辑
摘要: canvas(画布)主要是位图 svg(矢量图) canvas标签,必须要写的3个属性 id width height 为什么不再style中设置width和height呢? 因为这设置width和height话会有位移差; 位移差:在画布里面的元素有偏差; js中每次使用canvas,都要设置一个 阅读全文
posted @ 2019-05-16 15:41 Web引领者 阅读(1129) 评论(0) 推荐(0) 编辑
  2019年5月15日
摘要: <scroll-view></scroll-view> 组件 这个组件的属性:(是要不说属性值,写不写都可以(建议不写)) scroll-x:允许横向滚动 (如果你设这个属性就想让他滚动,太天真了,所以设一个样式 white-space:nowrap 不允许元素换行,他的子元素还要设 display 阅读全文
posted @ 2019-05-15 19:22 Web引领者 阅读(6096) 评论(0) 推荐(0) 编辑
摘要: view标签的属性值: hover-class:按下的点击态 属性值:字符串 如果:hover-class="none" 按下就没有点击态 hover-stop-propagetion:是否阻止本节点的父元素出现点击态 系统默认父元素出现点击态,所以需要这个元素; hover-start-time: 阅读全文
posted @ 2019-05-15 19:02 Web引领者 阅读(331) 评论(0) 推荐(0) 编辑
摘要: 表单 type属性对应的属性值 text:代表文本框 案例:<input type="text" /> password:代表密码框 radio:单选框 checkbox:多选框 submit:提交按钮 button:按钮 h5 email:邮箱(必须是邮箱格式的) tel:电话号码(手机上显示虚拟 阅读全文
posted @ 2019-05-15 10:42 Web引领者 阅读(562) 评论(0) 推荐(0) 编辑
摘要: html5新增了一些标签 这些标签都是语义标签,可以帮助我们更好的理解,代码中的意思;(都是双标签) 案例: 将语义标签翻译过来为 <div class="header"></div> (并没有太多的区别) 但也有几个有意思的标签; 常见的标签 header 代表头部标签 footer 代表脚部标签 阅读全文
posted @ 2019-05-15 10:30 Web引领者 阅读(8202) 评论(0) 推荐(0) 编辑
  2019年5月14日
摘要: <!doctype html><html><head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-sca 阅读全文
posted @ 2019-05-14 11:10 Web引领者 阅读(254) 评论(0) 推荐(0) 编辑
  2019年5月13日
摘要: /* Zepto v1.2.0 - zepto event ajax form ie - zeptojs.com/license */(function(global, factory) { if (typeof define 'function' && define.amd) define(fun 阅读全文
posted @ 2019-05-13 19:08 Web引领者 阅读(315) 评论(0) 推荐(0) 编辑
上一页 1 ··· 16 17 18 19 20 21 22 23 24 ··· 40 下一页