自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(8)
  • 收藏
  • 关注

原创 百度地图api的引用

.BMapLabel{display: none!important;} .BMapLib_nav_tab{display: none!important;} .BMapLib_nav{display: none!important;} .anchorBL{display: none;} #map{min-height: 600px; width: 100%;clear: b

2017-02-20 17:15:57 1071

原创 jquery实现全屏代码+下拉底部

*{margin: 0;padding: 0;} #footer{width: 100%;background: #000;display: none;} //全屏图像+底部var scrollFunc=function(e){ e=e || window.event; var t1=documen

2017-02-20 15:43:09 570

原创 js让头部悬浮

.xg{position: fixed;top: 0px;margin-top: 0px!important;} $(document).ready(function(){ var textHeight=$('#test').offset().top; $(window).scroll(function(){ var winHeigh

2017-02-20 15:30:07 532

原创 js点击按钮切换栏目

.nav_tab{width: 50%;margin: 0 auto;overflow: hidden;} .nav_tab li{height: 40px;background: #ccc;float: left;list-style: none;margin:10px 1% 0 1%;text-align: center;line-height: 40px;border-radius: 5

2017-02-20 14:16:58 1470

原创 js给当前跳转的页面a标签添加class或者id

给当前跳转的页面a标签添加样式 $(document).ready(function(){ var local=window.location.href; var tda=$('.td li a'); for(i=0;i<tda.length;i++){ var cd=tda.length if(local.toLowerCase()==tda[i].href.toLower

2017-02-20 11:57:23 3734

原创 IE浏览器引用css样式表的方法

IE浏览器引用css样式表的方法:1.Hack的写法::root .demo {color: #ff09;}/* IE 9 的写法 */*:first-child+html .demo {color: green;}/* 仅仅IE7浏览器 */.demo { color: gray; /* 基本的 */ color: pink\9; /* IE9以下(IE 8 及低

2017-02-17 17:53:49 490

原创 div中的文字和图片水平居中的方法

css文字水平居中的案例1:.page{text-align: center;}这是需要水平居中的文字css文字水平居中的案例2:.page{display: flex;justify-content: center;}这是需要水平居中的文字css图片水平居中的案例1:css图片水平居中的案例2:.tu img{display: bloc

2016-12-15 15:24:42 5360

原创 如何解决ul中li的边距问题

在使用css经常遇到li右边距多出导致换行的问题。 解决方法1:div溢出隐藏、ul负边距。.clearfix{clear: both;overflow: hidden;} .box{width: 1200px;margin: auto;} li{list-style: none;

2016-12-14 22:34:12 17618 3

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除