Skip to content

Instantly share code, notes, and snippets.

View jensgro's full-sized avatar

Jens Grochtdreis jensgro

View GitHub Profile
@jensgro
jensgro / dabblet.css
Created June 21, 2012 07:42 — forked from alexmwalker/dabblet.css
Traffic light animation
/**
* Traffic light animation
*/
#trafficlight{
background:#333;
height:300px;
width:150px;
border-radius:30px;
margin:3em auto;
@jensgro
jensgro / dabblet.css
Created June 21, 2012 07:47 — forked from alexmwalker/dabblet.css
CSS Animation - Crawl
/**
* CSS Animation - Crawl
*/
body{
background: #000 url(http://1.bp.blogspot.com/-GgGP4aPcInM/TpcOxhGNlGI/AAAAAAAAAcw/6XeuuHb-qI0/s1600/Star%2BScape.jpg);
font:700 16px Arial, Helvetica, sans-serif;
padding:4em 0;
min-height: 100%;
color:#ffee77;
text-align:center;
@jensgro
jensgro / gist:3690097
Created September 10, 2012 10:09
mögliche media-queries
@media screen and ( max-width: 1024px ) {
/* remove skyscraper & sponsoring icons in header */
.skyscraper, .sponsor-outside { display: none; }
}
/* === Browser auf breitem Monitor ==== */
@media screen and (min-width: 1150px) {
/* CSS Regeln */
}
@jensgro
jensgro / dabblet.css
Last active October 10, 2015 14:47
Button mit box-reflect
/**
* Button mit box-reflect
*/
body {
background: #fff;
min-height: 100%;
}
button {
margin: 40px;
@jensgro
jensgro / gist:3816624
Created October 2, 2012 06:06
The Current State Of Remote Debugging For Mobile

source: Addy Osmani https://plus.google.com/u/0/115133653231679625609/posts/Px3bQdQ2HDu

Remote debugging allows us to execute and capture code in remote devices, providing a way to inspect HTML, CSS and JavaScript and make live changes. In terms of mobile, this means a way for us to communicate with mobile devices so we can debug code on them directly rather than just relying on emulators.

The landscape for remote debugging your apps on mobile is quite strong at the moment.

Chrome for Android supports remote debugging via USB and allows you to debug using the Chrome Developer Tools. (See: https://developers.google.com/chrome/mobile/docs/debugging and Chrome for Android Remote Debugging for +Boris Smus's video walkthrough)

Opera has had support for remote debugging since 2008 and Dragonfly can remotely connect to Opera Mobile. (Tut: http://www.codegeek.net/blog/2012/mobile-debugging-with-opera-dragonfly/)

@jensgro
jensgro / meta-tags.md
Created October 12, 2012 08:39 — forked from lancejpollard/meta-tags.md
Complete List of HTML Meta Tags

Copied from http://code.lancepollard.com/complete-list-of-html-meta-tags/

Basic HTML Meta Tags

<meta name="keywords" content="your, tags"/>
<meta name="description" content="150 words"/>
<meta name="subject" content="your website's subject">
<meta name="copyright"content="company name">
<meta name="language" content="ES">
@jensgro
jensgro / demo.html
Created October 22, 2012 10:33 — forked from sergejmueller/demo.html
Fullscreen API Demo. Denkbar für eShops. Lauffähig unter Firefox, Chrome und Safari.
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="author" content="Sergej Müller" />
<link href="style.css" rel="stylesheet" />
<title>Fullscreen Demo</title>
@jensgro
jensgro / dabblet.html
Created November 6, 2012 13:59 — forked from lensco/dabblet.css
Untitled
none <div></div>
box-shadow <div class="box-shadow"></div>
filter: drop-shadow <div class="filter-drop-shadow"></div>​
@jensgro
jensgro / dabblet.html
Created November 8, 2012 10:35 — forked from anonymous/dabblet.css
Untitled
<!-- content to be placed inside <body>…</body> -->
<!DOCTYPE html>
<html>
<head>
<meta charset=utf-8 />
<title>JS Bin</title>
</head>
<body>
<ul>
// == SCSS Color Methods for Accessibility ================================
// Adjust given colors to ensure that those color combination provide
// sufficient contrast
// Methods using calculations from:
// * "Techniques For Accessibility Evaluation And Repair Tools (AERT)"
// working draft @see http://www.w3.org/TR/AERT#color-contrast
// TODO: add methods with WCAG2 formulas