Skip to content

Instantly share code, notes, and snippets.

View SBoudrias's full-sized avatar

Simon Boudrias SBoudrias

View GitHub Profile
@SBoudrias
SBoudrias / dabblet.css
Created October 3, 2012 18:36
Border-radius rendering
/**
* Border-radius rendering
*/
body {
background-color: #0051a2;
}
.outer {
width: 80%;
margin: 40px auto;
background: rgba(255,255,255,0.9);
@SBoudrias
SBoudrias / dabblet.css
Created November 13, 2012 22:01
The first commented line is your dabblet’s title
/**
* The first commented line is your dabblet’s title
*/
body {
background:black;
}
.round {
position: relative;
border: 40px dotted red;
width: 100px;
/*
* Défi intégrateur 1 (http://blog.goetter.fr/post/36084887039/tes-pas-cap-premiere-edition)
*/
.title1 {
text-align: center;
}
.title1:before,
.title1:after {
content: " ";
@SBoudrias
SBoudrias / index.html
Created November 21, 2012 00:59
Redirect a user to an other site from a facebook app
<script>
window.location.top = "http://google.com";
</script>
@SBoudrias
SBoudrias / dabblet.html
Created November 25, 2012 19:27
Untitled
<h1 class="title1">Titre h1 centré</h1>
<h1 class="title2">Titre h1 centré</h1>
<h1 class="title3">Titre h1 centré</h1>
@SBoudrias
SBoudrias / dabblet.css
Created November 25, 2012 19:28
Untitled
p{
display : none;
}
p:last-of-type {
display : block;
}​
({
baseUrl: ".",
name: "module.js",
out: "main-built.js"
})
@SBoudrias
SBoudrias / Custom.css
Created January 31, 2013 19:39
Chrome Devtools theme (minor improvement to Béres Máté Csaba monokai color scheme base devtool theme)
/*
Chrome Developer Tools - Monokai Color Theme
Author: Béres Máté Csaba / bjmatt.com / @bjmatt / [email protected]
-----------------------------------------------------------------------------------------------------------
Installation:
1. Find your Chrome's user stylesheets directory:
@SBoudrias
SBoudrias / dabblet.css
Created February 19, 2013 00:32
Colorize black element with filters
/**
* Colorize black element with filters
* Webkit-only at the moment (Chrome Canary or Webkit nightlies)
*/
body {
background: pink;
}
div {
@SBoudrias
SBoudrias / dabblet.css
Created March 26, 2013 23:14
Colorize black element with filters
/**
* Colorize black element with filters
* Webkit-only at the moment (Chrome Canary or Webkit nightlies)
*/
body {
background: pink;
}
div {