上一页 1 2 3 4 5 6 7 8 ··· 19 下一页
摘要: <!DOCTYPE html><html> <head> <meta charset="utf-8"> <title></title> </head> <body> <script> // 1.引入fs模块 const fs = require('fs'); // 2.调用方法读取文件 // fs. 阅读全文
posted @ 2020-08-24 22:18 Smile*^ 阅读(312) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html> <html lang="en" dir="ltr"> <head> <meta charset="utf-8"> <title> css折叠效果 </title> <style> h1 { color: #19b0cb; } .Fold { position: abs 阅读全文
posted @ 2020-08-22 21:29 Smile*^ 阅读(717) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html><html> <head> <meta charset="utf-8"> <title></title> <style> .one{ width: 20%; height: 40px; background-color: red; float: left; } .thr 阅读全文
posted @ 2020-08-20 23:09 Smile*^ 阅读(606) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html><html> <head> <meta charset="utf-8"> <title></title> </head> <body> <script> // promise是ES6重要内容 面试经常问的内容 // promise是ES6引入异步编程(io代码,数据库i 阅读全文
posted @ 2020-08-19 19:00 Smile*^ 阅读(136) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html><html> <head> <meta charset="utf-8"> <title></title> </head> <body> <script> // 模拟获取 用户数据 订单数据 商品数据 function getUsers(){ setTimeout(()= 阅读全文
posted @ 2020-08-18 23:45 Smile*^ 阅读(84) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html><html> <head> <meta charset="utf-8"> <title>from 渡一</title> <style> /* 1.父子选择器 */ div strong em{ background-color: red; } /* 2.直接子元素选择器 阅读全文
posted @ 2020-08-17 21:42 Smile*^ 阅读(208) 评论(0) 推荐(0) 编辑
摘要: 前端 和 浏览器打交道 主流--独自研发的内核shell 现在的主流浏览器及其内核 IE trident Google chrome Gecko Firefox Webkit/blink safari Webkit Opera presto 阅读全文
posted @ 2020-08-17 21:38 Smile*^ 阅读(76) 评论(0) 推荐(0) 编辑
摘要: 24文字溢出处理 单行溢出三件套,静止换行溢出到。多行处理仅截断,容器文字高计算。 单行溢出三件套,静止换行溢出到。 单行文本溢出处理方法一般是打点展示 div { white-space: nowrap; /*表示多余不换行*/ overflow: hidden; /*溢出部分隐藏*/ text- 阅读全文
posted @ 2020-08-16 23:40 Smile*^ 阅读(114) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html><html> <head> <meta charset="utf-8"> <title></title> </head> <body> <!-- <script> // 异步编程 比如 文件操作 网络操作(ajax,request) 数据库操作 // 1. 1s后控制台 阅读全文
posted @ 2020-08-15 21:05 Smile*^ 阅读(90) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html><html> <head> <meta charset="utf-8"> <title></title> </head> <body> <script> // 生成器函数第一种传参方法 function*fn(arg){ console.log(arg); let on 阅读全文
posted @ 2020-08-14 10:42 Smile*^ 阅读(186) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 ··· 19 下一页