上一页 1 2 3 4 5 6 7 8 9 ··· 23 下一页
摘要: 链接标签属性 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 嘆世殘者——華帥 阅读(173) 评论(0) 推荐(0) 编辑
摘要: 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 嘆世殘者——華帥 阅读(114) 评论(0) 推荐(0) 编辑
摘要: 布局要求: 1、三列布局,中间宽度自适应,两边定宽 2、中间栏要在浏览器中优先展示渲染 3、允许任意列的高度最高 4、用最简单的css、最少的HACK语句 圣杯布局: <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>圣杯布局</ 阅读全文
posted @ 2020-06-03 16:49 嘆世殘者——華帥 阅读(159) 评论(0) 推荐(0) 编辑
摘要: 远程先开好分支然后拉到本地 git checkout -b harold origin/harold //检出远程的harold分支到本地 本地开好分支然后推送到远程 git checkout -b harold //创建并切换到分支harold git push origin harold:har 阅读全文
posted @ 2020-06-02 15:35 嘆世殘者——華帥 阅读(187) 评论(0) 推荐(0) 编辑
摘要: .parent { position: relative; width: 200px; height: 150px; background: blue; } .child { position: absolute; width: 80px; height: 80px; background: red 阅读全文
posted @ 2020-06-01 15:03 嘆世殘者——華帥 阅读(191) 评论(0) 推荐(0) 编辑
摘要: <!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 嘆世殘者——華帥 阅读(4437) 评论(2) 推荐(0) 编辑
摘要: 打开bootstrap.min.js 在最后追加一段js $(document).ready(function() { dropdownOpen(); }); function dropdownOpen() { var $dropdownLi = $('li.dropdown'); $dropdow 阅读全文
posted @ 2020-05-26 15:38 嘆世殘者——華帥 阅读(161) 评论(0) 推荐(0) 编辑
摘要: 通过onMouseOver和onMouseOut事件来改变<img>的src属性,从而实现了鼠标经过图片切换的效果。 <img src="1.jpg" onMouseOver="this.src='2.jpg'" onMouseOut="this.src='1.jpg'"> 阅读全文
posted @ 2020-05-23 22:58 嘆世殘者——華帥 阅读(157) 评论(0) 推荐(0) 编辑
摘要: vi /etc/profile 增加配置信息,然后source /etc/profile是之生效。 但是打开新的终端会发现,是没有生效的。 解决方法: vi ~/.bashrc 然后最后一行添加 source /etc/profile 阅读全文
posted @ 2020-05-03 07:52 嘆世殘者——華帥 阅读(2569) 评论(0) 推荐(0) 编辑
摘要: 1、解决ie9以下浏览器对html5新增标签的不识别,并导致CSS不起作用的问题。 2、让不支持css3 Media Query的浏览器包括IE6-IE8等其他浏览器支持查询。 head部分添加如下代码 <!-- HTML5 shim 和 Respond.js 是为了让 IE8 支持 HTML5 元 阅读全文
posted @ 2020-04-27 17:33 嘆世殘者——華帥 阅读(241) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 ··· 23 下一页