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
img { | |
position: absolute; | |
top: 50%; | |
left: 50%; | |
width: 500px; | |
height: 500px; | |
margin-top: -250px; /* Half the height */ | |
margin-left: -250px; /* Half the width */ | |
} |
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
-moz-hyphens:auto; | |
-ms-hyphens:auto; | |
-webkit-hyphens:auto; | |
hyphens:auto; | |
word-wrap:break-word; |
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
.blur { | |
color: rgba(0, 0, 0, 0); | |
text-shadow: 0 0 5px rgba(0,0,0,0.5); | |
} |
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
body { | |
background: url(image.jpg) no-repeat; | |
background-size: 100%; | |
} |
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
#content { | |
-webkit-column-count: 2; | |
-webkit-column-rule: 1px solid #bbb; | |
-webkit-column-gap: 2em; | |
-moz-column-count: 2; | |
-moz-column-rule: 1px solid #bbb; | |
-moz-column-gap: 2em; | |
column-count: 2; |
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
$(document).ready(function() { | |
// Click event for any anchor tag that's href starts with # | |
$('a[href^="#"]').click(function(event) { | |
// The id of the section we want to go to. | |
var id = $(this).attr("href"); | |
// An offset to push the content down from the top. | |
var offset = 60; |
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
$(function() { | |
$('#identifiant a').click(function(){ | |
$('#identifiant').fadeOut(1000); | |
}); | |
}); |
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
jQuery(function($) { | |
$('.classe').live('click',function(){ | |
$(this).parent().slideUp(); | |
return false; | |
}) | |
}); |
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
@mixin lien(){ | |
font-size:$linkFontSize; | |
background-color:$bgLinkColor; | |
color:$textLinkColor; | |
padding:$linkPaddingTop $linkPaddingRight $linkPaddingBottom $linkPaddingLeft; | |
border:$linkBorderSize $linkBorderColor $linkTexture; | |
@include border-radius($linkRadius); | |
@include transition-property($transitionProperty); | |
@include transition-duration($transitionDuration); | |
&:hover{ |
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
<?php | |
$mail_to = 'myname@mydomain.com'; | |
$name = $_POST['sender_name']; | |
$mail_from = $_POST['sender_email']; | |
$message = $_POST['sender_message']; | |
$subject = 'Subject ' . $name; | |
$body_message = 'From: ' . $name . "\r\n"; |
OlderNewer