会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
嘆世殘者——華帥
懒癌重度患者——别问那么多为什么!
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
7
8
9
···
23
下一页
2020年6月4日
链接标签属性、其他属性
摘要: 链接标签属性 sizes <link rel="icon" href="icon.gif" type="image/gif" sizes="16" > target <base href="http://localhost/" target="_blank" > 超链接 a:media=""(表示对
阅读全文
posted @ 2020-06-04 22:49 嘆世殘者——華帥
阅读(178)
评论(0)
推荐(0)
2020年6月3日
清除浮动的三种方法
摘要: 1、 <div class="clear"></div> .clear { clear: both; } 2、 <div class="container clearfix"> <div class="div1">333</div> <div class="div1">333</div> <div
阅读全文
posted @ 2020-06-03 18:00 嘆世殘者——華帥
阅读(120)
评论(0)
推荐(0)
圣杯布局和双飞翼布局
摘要: 布局要求: 1、三列布局,中间宽度自适应,两边定宽 2、中间栏要在浏览器中优先展示渲染 3、允许任意列的高度最高 4、用最简单的css、最少的HACK语句 圣杯布局: <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>圣杯布局</
阅读全文
posted @ 2020-06-03 16:49 嘆世殘者——華帥
阅读(164)
评论(0)
推荐(0)
2020年6月2日
关于git本地分支和远程分支的创建和推送
摘要: 远程先开好分支然后拉到本地 git checkout -b harold origin/harold //检出远程的harold分支到本地 本地开好分支然后推送到远程 git checkout -b harold //创建并切换到分支harold git push origin harold:har
阅读全文
posted @ 2020-06-02 15:35 嘆世殘者——華帥
阅读(192)
评论(0)
推荐(0)
2020年6月1日
position之absolute居中定位
摘要: .parent { position: relative; width: 200px; height: 150px; background: blue; } .child { position: absolute; width: 80px; height: 80px; background: red
阅读全文
posted @ 2020-06-01 15:03 嘆世殘者——華帥
阅读(196)
评论(0)
推荐(0)
2020年5月27日
基于bootstrap点击图片放大插件
摘要: <!DOCTYPE html> <html> <head> <title></title> <!-- Introducing the bootstrap style css file--> <link href="https://cdn.bootcss.com/bootstrap/3.3.7/css
阅读全文
posted @ 2020-05-27 10:10 嘆世殘者——華帥
阅读(4601)
评论(2)
推荐(0)
2020年5月26日
bootstrap 鼠标经过导航下拉
摘要: 打开bootstrap.min.js 在最后追加一段js $(document).ready(function() { dropdownOpen(); }); function dropdownOpen() { var $dropdownLi = $('li.dropdown'); $dropdow
阅读全文
posted @ 2020-05-26 15:38 嘆世殘者——華帥
阅读(169)
评论(0)
推荐(0)
2020年5月23日
鼠标经过图片切换
摘要: 通过onMouseOver和onMouseOut事件来改变<img>的src属性,从而实现了鼠标经过图片切换的效果。 <img src="1.jpg" onMouseOver="this.src='2.jpg'" onMouseOut="this.src='1.jpg'">
阅读全文
posted @ 2020-05-23 22:58 嘆世殘者——華帥
阅读(167)
评论(0)
推荐(0)
2020年5月3日
centos8下source /etc/profile不生效
摘要: vi /etc/profile 增加配置信息,然后source /etc/profile是之生效。 但是打开新的终端会发现,是没有生效的。 解决方法: vi ~/.bashrc 然后最后一行添加 source /etc/profile
阅读全文
posted @ 2020-05-03 07:52 嘆世殘者——華帥
阅读(2673)
评论(0)
推荐(0)
2020年4月27日
解决IE9以下不兼容H5、媒体查询
摘要: 1、解决ie9以下浏览器对html5新增标签的不识别,并导致CSS不起作用的问题。 2、让不支持css3 Media Query的浏览器包括IE6-IE8等其他浏览器支持查询。 head部分添加如下代码 <!-- HTML5 shim 和 Respond.js 是为了让 IE8 支持 HTML5 元
阅读全文
posted @ 2020-04-27 17:33 嘆世殘者——華帥
阅读(258)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
8
9
···
23
下一页
公告