摘要:
<!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 阅读全文
摘要:
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 阅读全文
摘要:
<div class="footu"></div> <style> .footu{ background: url() rgba(0,0,0,.4); background-repeat: no-repeat; background-position: center center; backgrou 阅读全文
摘要:
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 阅读全文
摘要:
<!doctype html> <html> <head> <meta charset="utf-8"> <title>无标题文档</title> <?php $str = file_get_contents('http://cn.bing.com/HPImageArchive.aspx?idx=0 阅读全文
摘要:
//超过一定高度导航添加类名 var nav=$("header"); //得到导航对象 var win=$(window); //得到窗口对象 var sc=$(document);//得到document文档对象。 win.scroll(function(){ if(sc.scrollTop() 阅读全文
摘要:
<body> <style> .parent { width:100%; -moz-column-count: 4; -webkit-column-count: 4; column-count: 4; } .child { margin-bottom:20px; -moz-page-break-in 阅读全文
摘要:
<!doctype html> <html> <head> <meta charset="utf-8"> <title>无标题文档</title> </head> <body> <style type="text/css"> *{ margin: 0; padding: 0; } #footgund 阅读全文
摘要:
<script> function xianshi(){ var odaohang1=document.getElementById('daohang1'); var ozuocedaohang=document.getElementById('zuocedaohang1'); var otoggl 阅读全文
摘要:
根据判断地址栏网址与当前导航栏网址是否一致,如果一致添加样式 <ul class="daohang"> <li id="a0" class="li0"> <a href="/" onmouseover="Mea(0);">网站首页</a> </li> <li id="a1" class="li1"> 阅读全文