Skip to content

Instantly share code, notes, and snippets.

Jace wenjul

Block or report user

Report or block wenjul

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@wenjul
wenjul / CSS:normalize.css v1.0.1
Created Nov 12, 2012
CSS:normalize.css v1.0.1
View CSS:normalize.css v1.0.1
/*! normalize.css v1.0.1 | MIT License | git.io/normalize */
/* ==========================================================================
HTML5 display definitions
========================================================================== */
/*
* Corrects `block` display not defined in IE 6/7/8/9 and Firefox 3.
*/
@wenjul
wenjul / index.html
Created Nov 22, 2012
Countdown Clock(翻页电子表)
View index.html
<div class="container">
<ul class="flip minutePlay">
<li>
<a href="#">
<div class="up">
<div class="shadow"></div>
<div class="inn">0</div>
</div>
<div class="down">
<div class="shadow"></div>
@wenjul
wenjul / border-bubble.css
Created Nov 22, 2012
STYLE: border-bubble
View border-bubble.css
/***气泡样式 ***/
.bubble{
position:absolute;
border:1px solid #C4C4C4;
background-color:#F7F7F7;
border-radius:10px;
color:#333;
margin:50px;
text-align:center;
@wenjul
wenjul / template.html
Created Nov 22, 2012
HTML:html5 template
View template.html
<!doctype html>
<html>
<head>
<meta charset="UTF-8">
<title>Untitled Document</title>
<link rel="stylesheet" src="//normalize-css.googlecode.com/svn/trunk/normalize.css" />
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js"></script>
</head>
<body>
@wenjul
wenjul / index.html
Created Nov 22, 2012
A CodePen by wenjul. css border bubble - www.topcss.org
View index.html
<!doctype html>
<html>
<head>
<meta charset="UTF-8">
<title>Untitled Document</title>
</head>
<body>
<div class="bubble bubble-top" style="top:20px;">
<i class="arrow-before"></i>
<i class="arrow-after"></i>
@wenjul
wenjul / ie6-minHeight-minWidth.css
Created Nov 27, 2012
CSS:IE6 min-height min-width
View ie6-minHeight-minWidth.css
#selector{
min-height: 30px;
_height: 30px;
height: auto !important;
}
#selector{
min-width: 30px;
_width: 30px;
width: auto !important;
@wenjul
wenjul / fluid-input.html
Created Nov 27, 2012
宽度自适应的输入框
View fluid-input.html
<!doctype html>
<html>
<head>
<meta charset="UTF-8">
<title>宽度自适应的输入框</title>
<link rel="stylesheet" src="http://normalize-css.googlecode.com/svn/trunk/normalize.css" />
<style type="text/css">
.col{margin:0 auto; padding:10px; width:600px; background-color:#999;}
.fluid-input{display:inline-block; width:100%; _overflow:hidden;}
@wenjul
wenjul / crack.rb
Created Dec 11, 2012
sublimetext crack.
View crack.rb
# 仅去掉了烦人的提示,足够了。
# 使用说明
# ruby crack.rb "/Applications/Sublime Text 2.app/Contents/MacOS/Sublime Text 2"
# only for build 2210
# coded by hhuai.
#特征码取值
magic_code="\x55\x48\x89\xE5\x53\x48\x83\xEC\x08\x80\x3D\x10\x56\x51\x00\x00\x75\x70\xE8\x09\x7B\xF1\xFF\x48\x89\xC3\x48\x89\xD8\x48\x2B\x05\xC4\x17\x51\x00\x48\x3D\x80\xCB\xA4\x00\x7C\x56\xFF\x05\xBE\x17\x51\x00\xE8\xB7\xE7\x2C\x00\x8B\x0D\xB3\x17\x51\x00\x83\xF9\x02\x0F\x9F\xC2\xA8\x0F\x0F\x94\xC0\x84\xC2\x75\x05\x83\xF9\x08\x7E\x31\xC7\x05\x95\x17\x51\x00\x00\x00\x00\x00\x48\x89\x1D\x86\x17\x51\x00\x31\xFF\x48\x8D\x35\x9D\xC8\x3B\x00\x48\x8D\x15\x6B\xC9"
crack_code="\x55\x48\x89\xE5\x53\x48\x83\xEC\x08\x80\x3D\x10\x56\x51\x00\x00\x74\x70\xE8\x09\x7B\xF1\xFF\x48\x89\xC3\x48\x89\xD8\x48\x2B\x05\xC4\x17\x51\x00\x48\x3D\x80\xCB\xA4\x00\x7C\x56\xFF\x05\xBE\x17\x51\x00\xE8\xB7\xE7\x2C\x00\x8B\x0D\xB3\x17\x51\x00\x83\xF9\x02\x0F\x9F\xC2\xA8\x0F\x0F\x94\xC0\x84\xC2\x75\x05\x83\xF9\x08\x7E\x31\xC7\x05\x95\x17\x51\x00\x00\x00\x00\x00\x48\x89\x1D\x86\x17\x51\x00\x31\
View jQuery.support-transition.js
// jQuery.support.transition
// to verify that CSS3 transition is supported (or any of its browser-specific implementations)
$.support.transition = (function(){
var thisBody = document.body || document.documentElement,
thisStyle = thisBody.style,
support = thisStyle.transition !== undefined || thisStyle.WebkitTransition !== undefined || thisStyle.MozTransition !== undefined || thisStyle.MsTransition !== undefined || thisStyle.OTransition !== undefined;
return support;
})();
You can’t perform that action at this time.