html
幽幽靖
Happlyjingjing
展开
-
html css (wap) 网页基础配置
wap:<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no, viewport-fit=cover">例:<!DOCTYPE html><html lang="en">...原创 2019-11-22 17:29:22 · 804 阅读 · 0 评论 -
html引入思源黑体
通过Link标签在网页头部引用Google Web Font:<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Noto+Sans+SC:100,300,400,500,700,900">字体:Noto Sans SC大小:100, 300, 400, 500, 700, 900在需要使用...转载 2019-11-22 17:22:43 · 4727 阅读 · 1 评论 -
demo链接
乐途:http://www.lotour.com/关于我们:http://corp.lotour.com/index.shtml#con04原创 2019-10-15 10:09:05 · 176 阅读 · 0 评论 -
HTML5 video autoplay="autoplay" 无法自动播放的问题
在video标签中添加muted属性: <video muted src="123.mp4" autoplay="autoplay" poster="" controls="" loop></video>解释:muted 属性设置或返回视频是否应该被静音(关闭声音)。true - 指示应该关闭视频的声音。false - 默认。指示应该打开视频的声音。...原创 2019-09-14 10:56:59 · 3392 阅读 · 0 评论 -
jQuery 之超出四行省略隐藏,点击阅读全文,展开内容。。
帮小学妹解决了一个小问题。。顺便记下来吧。。未超四行的正常显示,超出四行省略隐藏,点击阅读全文,展开内容;点击收起,回到四行省略。代码。。<!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <meta name="viewport" content="w...原创 2019-09-17 11:09:38 · 2747 阅读 · 0 评论 -
jquery.mCustomScrollbar 做pc滚动条效果
PC端 overflow-y:scroll 默认的滚动条有点丑,所以百度找了一个用 jquery.mCustomScrollbar 做pc滚动条效果下载文件地址:代码如下:所需jQuery等文件请自行百度下载。。<!DOCTYPE html><html><head> <title>scroll</title> <...原创 2019-09-17 16:22:05 · 237 阅读 · 0 评论 -
禁止 input 文本输入框自动补全历史输入记录
有时候我们会遇到不需要input文本输入框自动补全历史输入记录,比如验证码输入框,用户登陆框等。方法如下:只需要在input属性中添加autocomplete="off"即可,<input type="text" autocomplete="off">...原创 2019-10-09 16:30:14 · 527 阅读 · 1 评论 -
highcharts 之折线数据图效果
实现效果:<div id="container" style="width: 100%;height:270px;"></div><script src="http://cdn.highcharts.com.cn/highcharts/highcharts.js"></script> <script> // 图表配置...原创 2019-10-09 17:12:37 · 520 阅读 · 0 评论