This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Text highlight color -------------- */ | |
::selection{ | |
background:#000; | |
color:#fff; | |
} | |
::-moz-selection{ | |
background:#000; | |
color:#fff; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Glowing focus on form input --------------------- | |
input[type=text], input[type=email], textarea { | |
transition: all 0.30s ease-in-out; | |
-webkit-transition: all 0.30s ease-in-out; | |
-moz-transition: all 0.30s ease-in-out; | |
outline:none; | |
} | |
input[type=text]:focus, input[type=email]:focus, textarea:focus { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!--[if lt IE 9]> | |
<script src="http://css3-mediaqueries-js.googlecode.com/svn/trunk/css3-mediaqueries.js"></script> | |
<![endif]--> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.alert { | |
padding: 15px 35px 15px 15px; | |
margin-bottom: 20px; | |
color: #c09853; | |
background-color: #fcf8e3; | |
border: 1px solid #fbeed5; | |
border-radius: 4px; | |
} | |
.alert-error { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
a.bouton { | |
background: url(sprites.png) no-repeat; | |
background-position: 0 0; | |
display: inline-block; | |
position: relative; | |
width: 30px; | |
height: 30px; | |
} | |
a.bouton:after { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* http://css-tricks.com/snippets/css/css-triangle/ */ | |
.arrow-up { | |
width: 0; | |
height: 0; | |
border-left: 5px solid transparent; | |
border-right: 5px solid transparent; | |
border-bottom: 5px solid black; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.transition (@transition: all 0.2s ease-in) { | |
transition: @transition; | |
-moz-transition: @transition; | |
-o-transition: @transition; | |
-webkit-transition: @transition; | |
} | |
//Usage : .transition(background 0.5s ease-in); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Same Height Elements | |
$.fn.setAllToMaxHeight = function(){ | |
return this.height( Math.max.apply(this, $.map( this , function(e){ return $(e).height() }) ) ); | |
} | |
$(".mon-ul li").setAllToMaxHeight(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script src='https://maps.googleapis.com/maps/api/js?v=3.exp&sensor=false'></script> | |
<div id="map-canvas" height="500" width="500"></div> | |
<div id="info"></div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
::-webkit-input-placeholder {color: #fff;} | |
::-moz-placeholder {color: #fff;} | |
:-ms-input-placeholder {color: #fff;} |
OlderNewer