Skip to content

Instantly share code, notes, and snippets.

@walterrenner
walterrenner / shake.html
Created January 29, 2013 14:32 — forked from sergejmueller/shake.html
CSS Animation using Keyframes
<!DOCTYPE html>
<html>
<head>
<style>
#box {
width: 400px;
height: 200px;
background: gray;
/* Smartphones (portrait and landscape) ----------- */
@media only screen
and (min-device-width : 320px)
and (max-device-width : 480px) {
/* Styles */
}
/* Smartphones (landscape) ----------- */
@media only screen
and (min-width : 321px) {
@walterrenner
walterrenner / hide-url-bar.html
Last active December 10, 2015 08:18
Hide URL-Bar in mobile Safari
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>Hide URL-Bar in mobile Safari</title>
</head>
<body>
<div id="wrapper" style="font-size:3em;">
foo:bar
@walterrenner
walterrenner / scrollposition.html
Created December 7, 2012 08:42
Detect Scroll Position and act
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>Detect Scroll Position and act</title>
<!-- CSS -->
<style type="text/css">
@walterrenner
walterrenner / nested-kbd.html
Created December 7, 2012 08:38
Stylish kbd Element
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>Stylish kbd Element</title>
<!-- CSS for nested kbd Elemnts -->
<style type="text/css">
@walterrenner
walterrenner / web-app.html
Created November 30, 2012 10:05 — forked from tfausak/ios-8-web-app.html
iOS web app - icons, startup images, install hints
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black" /> <!-- values: default, black, black-translucent -->
<meta name="viewport" content="initial-scale=1.0">
<meta name="viewport" content="maximum-scale=1.0">
<meta name="viewport" content="user-scalable=no">