
html
廖圣平
高级技术经理 +v:juzhen321
展开
-
怎么用html 显示出一横的多出来的文字,怎么实现CSS限制字数,超出部份显示点点点.
white-space:nowrap;overflow:hidden;text-overflow:ellipsis;js 省略的请看博客的其他文章 substr();原创 2017-08-04 14:28:53 · 1517 阅读 · 0 评论 -
php 写入养成习惯,写入日志
最新忙于修改别人的bug,所以改起来,要奔溃了。有日志就好了所以自己的项目上,写了一个小小的log,以后的系统就用这个html吧php中 变量为list<!DOCTYPE html><html lang="en"><head> &am原创 2018-06-11 20:51:20 · 308 阅读 · 0 评论 -
div span 自动换行
word-wrap: break-word;word-break: break-all;overflow: hidden;原创 2018-01-19 09:34:20 · 8311 阅读 · 0 评论 -
HTML input不能输入特殊字符串正则验证
"value=value.replace(/[\W]/g,'') "onbeforepaste="clipboardData.setData('text',clipboardData.getData('text').replace(/[^\d]/g,''))">原创 2018-01-19 09:24:31 · 4872 阅读 · 1 评论 -
判断https ,还是http ,不区分两者的写法
document.location.protocol+'//'+ document.domain 你alert(document.location.protocol);就知道是什么了原创 2018-01-16 09:29:57 · 1666 阅读 · 0 评论 -
在线QQ客服链接,只添加 qq号
"_blank" href="http://wpa.qq.com/msgrd?v=3&uin=你的QQ号码&site=qq&menu=yes&from=message&isappinstalled=0"">在线客服原创 2018-01-16 09:20:08 · 12876 阅读 · 1 评论 -
我也不知道为什么iphone 虚拟键盘挡住了input输入框,解决方案
因为,iphone的虚拟键盘遮罩问题,我人都傻了,于是自己一个一个参数一直试,最后可以了,html比较乱,仅供参考。<div class="top" style=" width: 100%; bottom: 0px; position: absolute; left: 0; background: #fff; margin-bottom:0px;原创 2017-12-04 21:33:19 · 5691 阅读 · 2 评论 -
手机登录界面
<html ng-app="ionicApp"><head> <meta charset="utf-8"> <meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=no, width=device-width"> <title>登录</title> <link hr原创 2017-11-17 10:48:22 · 1936 阅读 · 0 评论 -
html5手机端手指滑动选项卡滚动切换效果
前端学习必不可少的代码 点击下载原创 2017-10-23 14:53:01 · 11120 阅读 · 0 评论 -
纯css写弹窗 html
css background-color: #fff; border: 5px solid rgba(0, 0, 0, 0.4); height: 250px; left: 50%; margin: -200px 0 0 -100px; padding: 1px; position: fixed !important; positi原创 2017-09-19 13:44:07 · 11987 阅读 · 0 评论 -
怎么让文字不再div溢出,文字在div里面
添加:overflow: hidden;原创 2017-09-07 22:58:36 · 13258 阅读 · 1 评论 -
在position absolute div 怎么居中
#container {background: #ffc url(mid.jpg) repeat-y center;position: absolute;left: 50%;width: 980px;margin-left: -490px;}原创 2017-08-27 09:55:29 · 927 阅读 · 0 评论 -
html 怎么取消在css 文件中设置的属性值,取消background-color
background-color:transparent原创 2017-08-04 14:45:40 · 24476 阅读 · 0 评论 -
vue 分页demo || vue分页插件
<!DOCTYPE html><html><head> <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no"/> <meta ...原创 2019-05-05 17:52:50 · 589 阅读 · 0 评论