上一页 1 2 3 4 5 6 7 8 ··· 15 下一页
摘要: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Title</title> <script type="text/javascript" src="/jquery-1.11.0.min.js"></scrip 阅读全文
posted @ 2020-01-11 18:41 绿林豪士 阅读(2447) 评论(0) 推荐(0) 编辑
摘要: nth-child()不是从0开始的,是从1开始的 .index-one li:nth-child(1):hover { background: url(../images/one_bg.jpg) no-repeat; } .index-one li:nth-child(2):hover { bac 阅读全文
posted @ 2020-01-08 15:43 绿林豪士 阅读(472) 评论(0) 推荐(0) 编辑
摘要: <div class="footu"></div> <style> .footu{ background: url() rgba(0,0,0,.4); background-repeat: no-repeat; background-position: center center; backgrou 阅读全文
posted @ 2019-12-30 21:14 绿林豪士 阅读(2495) 评论(0) 推荐(0) 编辑
摘要: background-image: linear-gradient(white 0.5px,transparent 0), linear-gradient(90deg, white 0.5px,transparent 0), linear-gradient(hsla(0,0%,100%,.3) 1p 阅读全文
posted @ 2019-12-30 20:35 绿林豪士 阅读(1234) 评论(0) 推荐(0) 编辑
摘要: <!doctype html> <html> <head> <meta charset="utf-8"> <title>无标题文档</title> <?php $str = file_get_contents('http://cn.bing.com/HPImageArchive.aspx?idx=0 阅读全文
posted @ 2019-12-29 20:42 绿林豪士 阅读(215) 评论(0) 推荐(0) 编辑
摘要: //超过一定高度导航添加类名 var nav=$("header"); //得到导航对象 var win=$(window); //得到窗口对象 var sc=$(document);//得到document文档对象。 win.scroll(function(){ if(sc.scrollTop() 阅读全文
posted @ 2019-12-29 16:15 绿林豪士 阅读(218) 评论(0) 推荐(0) 编辑
摘要: <body> <style> .parent { width:100%; -moz-column-count: 4; -webkit-column-count: 4; column-count: 4; } .child { margin-bottom:20px; -moz-page-break-in 阅读全文
posted @ 2019-12-29 13:44 绿林豪士 阅读(237) 评论(0) 推荐(0) 编辑
摘要: <!doctype html> <html> <head> <meta charset="utf-8"> <title>无标题文档</title> </head> <body> <style type="text/css"> *{ margin: 0; padding: 0; } #footgund 阅读全文
posted @ 2019-12-28 17:23 绿林豪士 阅读(2104) 评论(0) 推荐(0) 编辑
摘要: <script> function xianshi(){ var odaohang1=document.getElementById('daohang1'); var ozuocedaohang=document.getElementById('zuocedaohang1'); var otoggl 阅读全文
posted @ 2019-12-26 20:06 绿林豪士 阅读(1201) 评论(0) 推荐(0) 编辑
摘要: 根据判断地址栏网址与当前导航栏网址是否一致,如果一致添加样式 <ul class="daohang"> <li id="a0" class="li0"> <a href="/" onmouseover="Mea(0);">网站首页</a> </li> <li id="a1" class="li1"> 阅读全文
posted @ 2019-12-26 15:07 绿林豪士 阅读(638) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 ··· 15 下一页