- 博客(10)
- 收藏
- 关注
原创 jq手风琴效果
<!DOCTYPE html><html lang="en"> <head> <meta charset="utf-8"> <style>*{ margin: 0; padding: 0; list-style: none;}.wrap{ width: 11...
2019-12-30 13:53:59
110
原创 cookie: get set remove
function setCookie(key,val,options){ options = options || {}; var time = ""; if(options.expires){ var d = new Date(); d.setDate(d.getDate()+options.expires); time =...
2019-12-23 08:59:55
160
原创 筛子布局
<!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta http-equiv="X-U...
2019-12-16 08:18:59
148
1
原创 JS模拟留言板
<!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta http-equiv="X-U...
2019-12-16 08:18:11
243
原创 随机数
<!doctype html><html><head><meta charset="utf-8"><title>随机数</title></head><body></body><script>function random(a,b){ retur...
2019-12-07 16:18:10
162
原创 图片透明效果
<!doctype html><html><head><meta charset="utf-8"><title>透明</title><style>img{opacity:.5;}</style></head><body> <img src="../im...
2019-12-07 16:17:12
83
原创 递归斐波那契数列
<!doctype html><html><head><meta charset="utf-8"><title>递归斐波那契数列</title></head><body></body><script> function fb(n){ if(n==1||...
2019-12-02 10:53:25
142
原创 宽度自适应
<!doctype html><html><head><meta charset="utf-8"><title>宽度自适应</title><style>.fu{width:500px;height:300px;border:3px solid #000;margin:100px auto;}.zi{w...
2019-12-02 10:52:22
702
原创 照片轮播
<!doctype html><html><head><meta charset="utf-8"><title>轮播</title><style>*{margin:0;padding:0;}li{list-style:none;}div{width:300px;height:100px;box-sh...
2019-11-25 08:39:19
3687
原创 单行文本溢出省略号
<!doctype html><html><head><meta charset="utf-8"><title>单行文本溢出省略号</title> <style> .box{width:100px;heigth:20px;border:1px solid pink; white-space:...
2019-11-25 08:29:35
144
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人