摘要: 自己简要总结了一下webpack+react搭建环境的各个步骤 阅读全文
posted @ 2017-08-17 16:57 张正-博客园 阅读(370) 评论(0) 推荐(1) 编辑
摘要: 如果是一行的话 css为 white-space: nowrap; 保证文本内容不会自动换行,如果多余的内容会在水平方向撑破单元格。 overflow: hidden; 隐藏超出单元格的部分。 text-overflow: ellipsis; 将被隐藏的那部分用省略号代替。 若是想要超出指定的行数再 阅读全文
posted @ 2017-04-06 18:24 张正-博客园 阅读(1640) 评论(0) 推荐(0) 编辑
摘要: //F12 切换手机模式 <!doctype html><html><head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="w 阅读全文
posted @ 2017-03-10 11:38 张正-博客园 阅读(199) 评论(0) 推荐(0) 编辑
摘要: var oText = document.getElementById("text");var oBtn = document.getElementById("btn");var val = "";creatCode()function creatCode(){ var arr = ['0','1' 阅读全文
posted @ 2017-03-10 11:20 张正-博客园 阅读(941) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html><html> <head> <meta charset="UTF-8"> <title></title> <style type="text/css"> *{ margin: 0; padding: 0; } a{ text-decoration: none; } #t 阅读全文
posted @ 2017-03-10 11:16 张正-博客园 阅读(211) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html><html> <head> <meta charset="UTF-8"> <title></title> <style type="text/css"> *{margin: 0; padding: 0;} body,html{width: 100%;height: 10 阅读全文
posted @ 2017-03-10 11:14 张正-博客园 阅读(347) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html><html> <head> <meta charset="UTF-8"> <title></title> </head> <body> <input type="button" name="" id="btn" value="按钮" /> <input type="bu 阅读全文
posted @ 2017-03-10 11:12 张正-博客园 阅读(4632) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html><html> <head> <meta charset="UTF-8"> <title></title> </head> <body> <input type="button" name="" id="btn" value="按钮" /> <input type="bu 阅读全文
posted @ 2017-03-10 11:08 张正-博客园 阅读(218) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html><html> <head> <meta charset="UTF-8"> <title></title> <style type="text/css"> #box{ width: 100px; height: 100px; border: 1px solid #FF00 阅读全文
posted @ 2017-03-10 11:06 张正-博客园 阅读(103) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html><html> <head> <meta charset="utf-8" /> <title></title> <style type="text/css"> a{ text-decoration: none; display: block; width:30px; he 阅读全文
posted @ 2017-03-10 11:04 张正-博客园 阅读(113) 评论(0) 推荐(0) 编辑