会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
贺小鸣
人面不知何处去,桃花依旧笑春风。 春风得意马蹄疾,一日看尽长安花。
博客园
首页
新随笔
管理
上一页
1
···
9
10
11
12
13
14
15
下一页
2017年1月19日
利用js使图片外层盒子的高等于适应图片的高
摘要: JS代码如下:<script> $(window).load(function(){ var width=$(window).width(); var img_1=$(".hot_img_auto").css("height");//获取图片高 if(980<=width<=1920){ $(".h
阅读全文
posted @ 2017-01-19 12:11 贺小鸣
阅读(483)
评论(0)
推荐(0)
2017年1月16日
全选,全不选,反选
摘要: <ul style="list-style: none;"> <li><input type="checkbox" name="ids[]" value="1">葡萄</li> <li><input type="checkbox" name="ids[]" value="1">香蕉</li> <li
阅读全文
posted @ 2017-01-16 17:25 贺小鸣
阅读(172)
评论(0)
推荐(0)
2016年12月28日
常用的meta标签总结
摘要: <!-- 关键字,搜所引擎 SEO --><meta http-equiv="keywords" content="关键字1,关键字2,..."> <!-- 页面描述 --><meta http-equiv="description" content="网页描述"> <!-- content的取值为
阅读全文
posted @ 2016-12-28 14:36 贺小鸣
阅读(2582)
评论(0)
推荐(1)
2016年12月2日
小效果,大收集
摘要: 去掉点击后的阴影 -webkit-tap-highlight-color:rgba(0,0,0,0) ; 将a标签做成一个按钮 a { display: block; height: 34px; width: 107px; line-height: 2; text-align: center; ba
阅读全文
posted @ 2016-12-02 10:54 贺小鸣
阅读(153)
评论(0)
推荐(0)
input失效后,怎么改变它默认就有的灰色
摘要: ☆☆☆☆☆ input:disabled { -webkit-text-fill-color: rgba(0, 0, 0, 1); -webkit-opacity: 1; } 去掉button/select的默认按钮样式 appearance:none; -moz-appearance:none;
阅读全文
posted @ 2016-12-02 10:50 贺小鸣
阅读(800)
评论(0)
推荐(0)
2016年11月22日
弹性盒布局-宽度自动分配-图片自适应
摘要: <!doctype html> <html lang="en"> <head> <meta charset="UTF-8"> <title>弹性盒布局-宽度自动分配-图片自适应</title> <style> *{ margin:0; padding:0} #parent { width:100%;
阅读全文
posted @ 2016-11-22 12:06 贺小鸣
阅读(6077)
评论(0)
推荐(1)
2016年11月21日
时钟效果收集
摘要: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.o
阅读全文
posted @ 2016-11-21 18:40 贺小鸣
阅读(155)
评论(0)
推荐(0)
1秒加1
摘要: <!doctype html><html lang="en"><head> <meta charset="UTF-8"> <title>Document</title> <script src="js/jquery.min.js"></script></head><body><div class="
阅读全文
posted @ 2016-11-21 18:31 贺小鸣
阅读(144)
评论(0)
推荐(0)
tab切换☆☆☆☆☆
摘要: <!doctype html><html lang="en"><head> <meta charset="UTF-8"> <title>选项卡</title> <style> *{ margin:0; padding: 0; } div{ width: 300px; height: 300px; b
阅读全文
posted @ 2016-11-21 18:30 贺小鸣
阅读(205)
评论(0)
推荐(0)
音乐播放的动画效果
摘要: <!doctype html><html lang="en"><head> <meta charset="UTF-8"> <title>Document</title> <style> * { margin: 0; padding: 0; } ul { height: 30px; backgroun
阅读全文
posted @ 2016-11-21 18:22 贺小鸣
阅读(744)
评论(0)
推荐(0)
上一页
1
···
9
10
11
12
13
14
15
下一页
为尊重他人劳动成果,转载/摘抄请标明来源!