Skip to content

Instantly share code, notes, and snippets.

View vpell's full-sized avatar

Vincent Pelletier vpell

  • Vincent Pelletier
  • Paris
  • 10:34 (UTC +02:00)
View GitHub Profile
@vpell
vpell / css3flip_ie.css
Created February 12, 2014 15:05
Based on http://davidwalsh.name/css-flip (IE version). The perspective effect ("perspective: 1000px;") don't work in Firefox 27.
/*
***************************
http://davidwalsh.name/css-flip [IE version]
***************************
1. work in Safari 7.0.1
2. work in Chrome 32.0.1700.107
3. work partially in Firefox 27
*/
.container {
@vpell
vpell / css3flip_ie.html
Created February 12, 2014 14:58
Based on http://davidwalsh.name/css-flip (IE version). The perspective effect ("perspective: 1000px;") don't work in Firefox 27.
<!-- http://davidwalsh.name/css-flip [IE vesion]-->
<!doctype html>
<html>
<head>
<title>flip card 3ie</title>
<link rel="stylesheet" href="css3flip_ie.css" />
</head>
@vpell
vpell / css3flip.css
Created February 12, 2014 14:55
Based on http://davidwalsh.name/css-flip (non IE version).
/*
***************************
http://davidwalsh.name/css-flip
***************************
1. work in Safari 7.0.1
2. work in Chrome 32.0.1700.107
- work if .flip-container in a .container
- if not in a div.container, doesn't flip until cursor is in the middle of card WHEN the cursor enter the card from the left !
3. work in Firefox 27
- if perspective without unit (1000), no perspective in Firefox (but the flip does work)
@vpell
vpell / css3flip.html
Created February 12, 2014 14:53
Based on http://davidwalsh.name/css-flip (non IE version).
<!-- http://davidwalsh.name/css-flip -->
<!doctype html>
<html>
<head>
<title>flip card 3</title>
<link rel="stylesheet" href="css3flip.css" />
</head>
@vpell
vpell / snippet.html
Created February 5, 2014 16:50
HTML: Starting Template
<html>
<head>
<meta charset="utf-8">
<title>test gist snippet</title>
</head>
<body>
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
</body>
</html>