Skip to content

Instantly share code, notes, and snippets.

View jintangWang's full-sized avatar

tang jintangWang

View GitHub Profile
@jintangWang
jintangWang / box-shadow.html
Created December 28, 2018 13:59 — forked from ocean90/box-shadow.html
CSS3 Box Shadow, only top/right/bottom/left and all
<!DOCTYPE html>
<html>
<head>
<title>Box Shadow</title>
<style>
.box {
height: 150px;
width: 300px;
margin: 20px;
@jintangWang
jintangWang / WebViewAutoHeight.js
Created November 20, 2018 09:33 — forked from esamattis/WebViewAutoHeight.js
React native: Is it possible to have the height of a html content in a webview? http://stackoverflow.com/q/32952270
/*
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
Version 2, December 2004
Copyright (C) 2016 Esa-Matti Suuronen <esa-matti@suuronen.org>
Everyone is permitted to copy and distribute verbatim or modified
copies of this license document, and changing it is allowed as long
as the name is changed.
@jintangWang
jintangWang / main.less
Created November 10, 2016 07:03 — forked from nanpx/main.less
LESS
@charset "UTF-8";
@import "variables.less";
@import "mixins.less";
@import "reset.less";
@import "utility.less";
@jintangWang
jintangWang / less loop.md
Created November 7, 2016 09:10 — forked from shawndxl/less loop.md
用 LESS 写一个帧动画类型的函数 / LESS keyframes loop method

用 LESS 写一个 可复用的 帧动画类型的 函数 / A css keyframes loop with LESS

For example , you have a css animation like this

/* CSS */
@keyframes demo {
	0% { background-image: url(../img/demo/1.png); }
	20% { background-image: url(../img/demo/2.png); }
	40% { background-image: url(../img/demo/3.png); }
	60% { background-image: url(../img/demo/4.png); }
@jintangWang
jintangWang / index.js
Created August 30, 2016 08:33 — forked from edokeh/index.js
佛祖保佑,永无 BUG
//
// _oo0oo_
// o8888888o
// 88" . "88
// (| -_- |)
// 0\ = /0
// ___/`---'\___
// .' \\| |// '.
// / \\||| : |||// \
// / _||||| -:- |||||- \