This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
**关于gist与stackEdit的使用** | |
首先打开stackEdit网站,点击 [这里][1] | |
编辑相关内容和标题 | |
1. 左侧顶端的 # menu菜单,可以选择同步到Google云硬盘或Dropbox上类似网盘分享 | |
2. 左侧顶端的 # menu菜单,publish on 可以同步到github上的gist | |
3. 同步到github的gist上可以在线分享 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$.extend(jQuery.easing , { | |
easeIn: function(x,t, b, c, d){ //加速曲线 | |
return c*(t/=d)*t + b; | |
}, | |
easeOut: function(x,t, b, c, d){ //减速曲线 | |
return -c *(t/=d)*(t-2) + b; | |
}, | |
easeBoth: function(x,t, b, c, d){ //加速减速曲线 | |
if ((t/=d/2) < 1) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var imgName = '1.jpg'; //开发,传入生成后的图片名称。 | |
var title = '分享文字'; //定义分享文字内容,等待 | |
var url = 'http://www.lvmama.com/zt/promo/ztname/'; //要分享的页面链接 | |
var img = url+'imgnew/'+imgName; //分享的图片路径 | |
var fxHref = 'http://service.weibo.com/share/share.php?title='+ title +'&url='+ url +'&source=bookmark&appkey=2992571369&pic='+ img +'&ralateUid=&sudaref=s.jiathis.com'; | |
window.open(fxHref); | |
//window.location.href=fxHref | |
//js 分享选中文字方法 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.demo { | |
filter:progid:DXImageTransform.Microsoft.gradient(enabled='true',startColorstr='#4C000000', endColorstr='#4C000000'); | |
} | |
:root .demo { | |
filter:none; /*处理IE9浏览器中的滤镜效果*/ | |
background-color:rgba(0,0,0,0.3); | |
} | |
/* | |
透明度对应: | |
000000为十六进制颜色值 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
html{filter:progid:DXImageTransform.Microsoft.BasicImage(grayscale=1);} | |
html { | |
filter: progid:DXImageTransform.Microsoft.BasicImage(grayscale=1); | |
-webkit-filter: grayscale(1); | |
} | |
html { | |
filter: grayscale(100%); | |
-webkit-filter: grayscale(100%); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*! Copyright (c) 2013 Brandon Aaron (http://brandon.aaron.sh) | |
* Licensed under the MIT License (LICENSE.txt). | |
* | |
* Version: 3.1.12 | |
* github: https://github.com/brandonaaron/jquery-mousewheel | |
* Requires: jQuery 1.2.2+ | |
*/ | |
(function (factory) { | |
if ( typeof define === 'function' && define.amd ) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//html 结构 | |
<div class="tabBox"> | |
<ul class="visiter"> | |
<li><span class="firstSpan">第一周幸运用户</span><span>18601583176</span><span>巴西世界杯之旅6日游</span></li> | |
<li><span class="firstSpan">第二周幸运用户</span><span>18601583176</span><span>巴西世界杯之旅6日游</span></li> | |
<li><span class="firstSpan">第三周幸运用户</span><span>18601583176</span><span>巴西世界杯之旅6日游</span></li> | |
<li><span class="firstSpan">第四周幸运用户</span><span>18601583176</span><span>巴西世界杯之旅6日游</span></li> | |
<li><span class="firstSpan">第五周幸运用户</span><span>18601583176</span><span>巴西世界杯之旅6日游</span></li> | |
<li><span class="firstSpan">第六周幸运用户</span><span>18601583176</span><span>巴西世界杯之旅6日游</span></li> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!doctype html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<title>无标题文档</title> | |
<style> | |
*{margin:0;padding:0;} | |
.clearfix:before, .clearfix:after {content:"";display:table;} | |
.clearfix:after{clear:both;} | |
.clearfix{*zoom:1;/*ie6,7*/} |
OlderNewer