Skip to content

Instantly share code, notes, and snippets.

View SBoudrias's full-sized avatar

Simon Boudrias SBoudrias

View GitHub Profile
div {
background: blue;
}
.elem {
display: inline-block;
background: green;
height: 100%;
width: 1em;
}
.section {
height: 50%;
width: 100%;
min-height: 260px;
position: relative;
text-align: center;
background: #FFF;
}
.cat {
width: 100%;
@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 {
@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 / 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:
({
baseUrl: ".",
name: "module.js",
out: "main-built.js"
})
@SBoudrias
SBoudrias / dabblet.css
Created November 25, 2012 19:28
Untitled
p{
display : none;
}
p:last-of-type {
display : block;
}​
@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 / 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>
/*
* 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: " ";