Skip to content

Instantly share code, notes, and snippets.

View evolutionjay's full-sized avatar

Jay evolutionjay

  • China
View GitHub Profile
@evolutionjay
evolutionjay / css3-metal-button.html
Created May 4, 2016 03:48 — forked from dreamsky/css3-metal-button.html
CSS3 效果:金属质感按钮
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>CSS3 Button Effects</title>
<style>
body {
font-family:'museoslab500';
text-transform: uppercase;
background: #333;
<!DOCTYPE html>
<html>
<head>
<title>WebWorker image preloading</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no" />
</head>
<body>
<div id="output"></div>
<script id="imgloader" type="javascript/worker">
// Not race proof or robust. Proof of concept.
/**
* Hide the addressbar on ios & android devices
* https://gist.github.com/yckart/5609969
*
* Based on the work from Nate Smith
* @see https://gist.github.com/nateps/1172490
*
* Copyright (c) 2013 Yannick Albert (http://yckart.com)
* Licensed under the MIT license (http://www.opensource.org/licenses/mit-license.php).
* 2013/07/10
<!DOCTYPE html>
<meta charset=utf-8>
<meta name=viewport content="width=device-width, initial-scale=1, maximum-scale=1">
<meta name=apple-mobile-web-app-capable content=yes>
<meta name=apple-mobile-web-app-status-bar-style content=black>
<title>Test fullscreen</title>
<style>
html, body {
margin: 0;
padding: 0;