background preloader

CSS 3.0 Box Shadow

CSS 3.0 Box Shadow

Changer le curseur en CSS – Custom cursor Je vous livre aujourd’hui une règle css qui permet de changer le curseur de la souris avec n’importe quelle image. Vous pouvez donc tout de suite regarder le résultat en démo : La mise en place est très simple. Il vous suffit de prendre une image en .png de préférence. Et pour changer de curseur, il suffit d’appliquer ce code css sur la div sur laquelle on veut modifier ce dernier : Pour mieux comprendre le fonctionnement je vais vous donner un autre exemple. Exemple N’hésitez pas à partager ce tuto!! Lateral Thinking Puzzles - Preconceptions Lateral thinking puzzles that challenge your preconceptions. 1. You are driving down the road in your car on a wild, stormy night, when you pass by a bus stop and you see three people waiting for the bus: 1. An old lady who looks as if she is about to die. 2. An old friend who once saved your life. 3. Knowing that there can only be one passenger in your car, whom would you choose? Hint: You can make everyone happy. Solution: The old lady of course! 2. Hint: The police only know two things, that the criminal's name is John and that he is in a particular house. Solution: The fireman is the only man in the room. 3. Hint: He is very proud, so refuses to ever ask for help. Solution: The man is a dwarf. 4. Hint: It does not matter what the baby lands on, and it has nothing to do with luck. Solution: The baby fell out of a ground floor window. 5. Hint: His mother was an odd woman. Solution: When Bad Boy Bubby opened the cellar door he saw the living room and, through its windows, the garden. 6. 7.

Galerie photo hover avec transition CSS - Utiliser les transitions pour créer une galerie photo Utilisation des transitions CSS pour cet effet. Voici le code HTML ( chaque image est dans un "li" ) <ul><li><a href="#"><img src="firefox.jpg" alt="" /><strong>Firefox</strong></a></li><li><a href="#"><img src="opera.jpg" alt="" /><strong>Opéra</strong></a></li> ... </ul> Puis utilisation des transitions CSS pour créer l’effet. L’effet fonctionne dans tous les navigateurs prenant en charge les transitions CSS ( Safari/Chrome, Firefox 4 )

techinterview Sites Web interactifs en jQuery qui Rock! Inspiration par 25 sites. L’arrivée du jQuery en 2006 bouleversa le monde du web que l’on connait aujourd’hui. L’utilisation des effets parallax, les centaines d’animations plus surprenantes les unes que les autres, l’utilisation de galeries « slideshow », etc., font en sorte de rendre le web plus vivant tout en gardant une rapidité d’exécution ce qui n’était pas toujours le cas avec les sites web programmés en Flash. Dans cet article, vous trouverez une superbe liste de sites web en jQuery comprenant des effets d’animation splendides utilisés en grande partie pour le système de navigation à travers les pages. La liste de sites web suivante a été créée par le design Chris Spooner, fondateur du site web line25.com. Superbes sites web avec animations jQuery CaptainDash Mustache Small Studio McCormack & Morrison Wanda Productions Socket Studios Blind Barber Dangers of Fracking thePENHOUSEPROJECT Edits Quarterly Spring/Summer Bagigia Carbure Squarefactor Inzeit Grayden Poper Second Story Interactive Studios Superlovers James Anderson

Brainteaser Quizzes Read this...bet you CAN!Weakest Link Brainteaser TestBrainteaser Quiz 1 Brainteaser Quiz 2 Brainteaser Quiz 3 Brainteaser Quiz 4 Back to Brainteasers & Riddles Index The phaonmneel pweor of the hmuan mnid: I cdnuolt blveiee taht I cluod aulaclty uesdnatnrd waht I was rdgnieg. The rset can be a taotl mses and you can sitll raed it wouthit a porbelm. Weakest Link Brainteaser Test Brainteaser Quiz #2! Great Brainteaser Quiz #3! How did you do? Brainteaser Quiz #4 Quiz for people who know everything: Back to Quizzes Back to Riddles & Brainteasers Transit - CSS transitions and transformations for jQuery What about older browsers? Transit degrades older browsers by simply not doing the transformations (rotate, scale, etc) while still doing standard CSS (opacity, marginLeft, etc) without any animation. Delays and durations will be ignored. // Delegate .transition() calls to .animate()// if the browser can't do CSS transitions.if (! Fallback to frame-based animation If you would like to fallback to classic animation when transitions aren't supported, just manually redefine .transitition to .animate. (Note: if you're using custom easing, you may need to also use jQuery Easing, and restrict your use of easing options to the ones defined there.) $.fx.speeds. Default duration Transit honors jQuery's default speed, $.fx.speeds. Custom easing Define custom easing aliases in $.cssEase. Webkit: prevent flickers Having flickering problems in Webkit? Antialias problems in Webkit? Force hardware-acceleration in Webkits to prevent text flickering.

An Interactive Guide To The Fourier Transform The Fourier Transform is one of deepest insights ever made. Unfortunately, the meaning is buried within dense equations: Yikes. What does the Fourier Transform do? Here's the "math English" version of the above: The Fourier Transform takes a time-based pattern, measures every possible cycle, and returns the overall "cycle recipe" (the strength, offset, & rotation speed for every cycle that was found). Time for the equations? If all goes well, we'll have an aha! This isn't a force-march through the equations, it's the casual stroll I wish I had. From Smoothie to Recipe A math transformation is a change of perspective. The Fourier Transform changes our perspective from consumer to producer, turning What did I see? In other words: given a smoothie, let's find the recipe. Why? So... given a smoothie, how do we find the recipe? Well, imagine you had a few filters lying around: We can reverse-engineer the recipe by filtering each ingredient. Filters must be independent. See The World As Cycles Oh!

Creative CSS3 Animation Menus Being in the mood for experimenting with CSS3, I'd like to show you some creative menu hover effects in today's tutorial. The idea is to have a simple composition of elements, an icon, a main title and a secondary title, that will be animated on hover using only CSS transitions and animations. We'll be exploring some different effects for the elements. View demo Download source Being in the mood for experimenting with CSS3, I’d like to show you some creative menu hover effects in today’s tutorial. The icons used in the demos are actually a Web Symbols typeface that we’ll include with @font-face. The Markup The HTML structure for the menu will be an unordered list where each item is a link element that consists of an icon span and a content div that will contain the main title and the secondary title: As we are using a symbol font for the icons, we write letters for the icons. The CSS The common style for all the examples will be the inclusion of the symbol typeface: Example 1 Example 2

How to Disappear Online Inclure jQuery de manière optimisée jQuery est un framework JavaScript très célèbre, permettant en quelques lignes de code de dynamiser un site web, de créer de petites animations, des interactions avec les formulaires, de programmer des appels Ajax. Voici, en détails, quelques possibilités d'intégration à votre site, afin de minimiser l'impact sur les performances et le temps de chargement. Appel classique à la librairie (fichier téléchargé) De la manière la plus basique, il est vous est proposé sur le site jQuery.com de télécharger le fichier - en affichant son code source - et de le placer sur votre site, par exemple dans jquery.js ou jquery-1.x.x.min.js. Fichier et compression Vous récupérerez ainsi une version "minifiée", c'est à dire compressée jusqu'à un certain niveau par un algorithme supprimant espace et commentaires, mais rendant peu lisible la déclaration des fonctions. Voyez les différences entre la version non minifiée et la version minifiée. Performances au chargement Vous obtiendrez ainsi : <! <! Démo

Related: