CSS3 Transitions And Transforms From Scratch There are some amazing examples of CSS transforms and transitions, and whilst you may be blown away by them, there's a good chance that you're also overwhelmed and a bit intimidated! This tutorial will take you back to the very basics. We're going to create some fundamental CSS3 transitional movements, step by step. A Quick Note on Browser Support: Support across browsers is already pretty reasonable. The Axes and Grid To help understand the movement easily we'll be working on an axis grid (which you'll probably recognize from basic math). The only (crucial) difference is that on our axis the -y value is above the x axis, whilst it would ordinarily be below it. Note: I'm going to assume that you're already familiar with HTML and CSS file structure. 1: Horizontal Movement The first movement we'll demonstrate is "horizontal"; we'll animate the object to move to the right and to the left. Moving to the Right Open your favorite Text Editor and enter the following html markup, then save the file.
Dynamic Page / Replacing Content By Chris Coyier On This article is an update to this old article, which had an ugly demo and a variety of techniques in it no longer probably considered good practices. This new demo is much cleaner, up to date, and fuller featured. Because the old article was a bit of a different scope, I'll leave it alone, just refer to this one. Update January 2013: There are better practices now, detailed here. Let's say you wanted to make a website where clicking buttons in the nav would dynamically load some content. View Demo Download Files The HTML: It all works without JavaScript There is no excuse for the navigation of a website to be completely broken without JavaScript enabled. The navigation links to the files that contain that content, and are fully formed functional pages on their own. <nav><ul><li><a href="index.php">Home</a></li><li><a href="about.php">About</a></li><li><a href="contact.php">Contact</a></li></ul></nav> jQuery JavaScript The JavaScript is the fun part here! Prereq Code Dump
InfoGrid Superman View Image Super Power Consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Costume Consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Morality Sidekicks Vehicles Weaknesses Batman View Image Aquaman View Image Spiderman View Image Ironman View Image Hebiflux OOOOooooOOOOOOOhhh création inventive et bien réalisée ! C’est l’animation de la semaine! Voici le retour de l’aventure de TippEx tant adorée il y a une année déjà. Choisissez l’année qui vous convient : -4000, 0, 500, 1492, 1515, 1789, 1800, 1980, 2011… il existe une vingtaine (plus?) de vidéos correspondant à chaque étape. On remarquera que désormais avec la nouvelle formule des pages de marque Youtube, les écrans qui prenaient toute la page ont disparu au profit d’un petit encart de minisite.
Accessible star rating widget with pure CSS For ages, we couldn’t utilize the sibling combinators (~ and +) to ease the pain of creating star rating widgets, because of this stupid Webkit bug. Nowadays, not only it’s fixed, but the fix has already propagated to Chrome and Safari 5.1. So, we can at least use the sibling combinator to make coloring the stars easier. But can we use no JavaScript for a rating widget and make it just with CSS? Actually, we can. By adapting Ryan Seddon’s technique for custom radio buttons with CSS, we can turn a series of radio buttons into stars that change colors (for the purposes of this demo they’re just unicode characters that change colors, but in your case they may as well be images) and use the sibling combinator to color the previous stars. Of course, you’d still need JS to attach an event handler if you want the votes to be registered through AJAX, but that’s not part of the rating widget per se (it could still work as part of a regular form). So, here it is:
Le Kit du parfait Webdesigner #1 - webdesign Votre navigateur ne prend pas en charge Javascript, vous ne pourrez profiter de toutes les fonctionnalités de ce site web. Magazine Webdesign, Inspiration et tutoriels 9222Membres2043Articles9519Commentaires0Devenez fan8431Suivez-nous ! A la uneCatégoriesDossiers+ Le Kit du parfait Webdesigner #1 par Fabien Berthouxle 28/05/2010 Couleurs, Typographies, Architecture d'un site, Effets de styles, Boutons, Dégradés Web 2.0, Icônes, vous trouverez toutes les ressources nécessaires pour développer et créer vos webdesign. L'architecture ( WireFrame ) Grille de construction Créer son architecture en ligne Pencil Pidoco Protoshare Iplotz Mockflow Balsamiq Jgraph Hotgloo A connaître Wireframes.linowski Aller plus loin : Des WireFrame à imprimer 35 ressources de WireFrame 50 packs UI et Webdesign gratuits La Couleur Colorschemedesigner 0to255 Imageshack Colourlovers Kuler Colormunki Ilotresor Colorblender Colorotate Comment bien choisir ses couleurs pour céer une charte graphique 17 outils pour trouver ses couleurs La Typographie
100+ Massive CSS Layout Toolbox In this article you will get access to one of the largest collections ever of CSS Tools, Tutorials, Cheat Sheets etc. It builds on previous CSS posts in tripwire magazine with the purpose of creating a one stop fit all CSS resource. Several new resources have been added. Please comment if you know a great CSS resource that didn’t make it on the list and I will add it ASAP. Advertisement Index CSS getting started and reference resources CSS Basics Large getting started guide with everything you ever wanted to know about the basics of CSS Creating a CSS layout from scratch This guide will attempt to take you step by step, through the process of creating a fully functioning CSS layout. Webdesignfromscratch, CSS Introduces most elements of we b development, including css. 10 Principles of the CSS Masters This is really essential tips from true css experts. CSS Specificity: Things You Should Know Solving 5 Common CSS Headaches CSS is a relatively simple language to learn. Sure, anyone can write CSS.
GridControl: A Grid Overlay System for Design Development. Designing by grid is as old as design itself. Grids are a fundamental concept to design that transcend trends. Long after the shiny, sans-serify, reflective shadows of web 2.0 are gone, grids will still be here. When we access digital media through implants in our brain and see the internet through screens that appear right in our vision, grid-based design will be there. There is a web design showcase I found when doing the Gallery Roundup that specifically showcases sites with great grid designs called Design By Grid. In order for grids to be really effective, you really need to honer them. A Ruler: A Grid Designer's Best Friend Seems pretty obvious. Overlaying a Digital Grid Much of this alignment business is already taken care of for you. So let's get to it. The CSS is pretty straightforward: The other two have identical CSS with the exception of the background image. Notice the display: none; in the CSS. Now that we have a way to turn them on, a way to turn them off would be nice.
MaKey MaKey: An Invention Kit for Everyone (Official Site) How to vertically and horizontally center text in an unordered list or div Congratulations if you've managed to find this tutorial! I've been trying to increase awareness and publicity to this tutorial by going to other tutorials and leaving comments but I'm finding the authors take a competitive edge and do not approve my link to this page. If you find this helpful then please promote it by using the social links further down the page. This should hopefully increase my chances to be found in Google. The following example shows you how to vertically and horizontally center text in both an unordered list and a div without resorting to JavaScript or css line heights. No matter how much text you have you won't have to apply any special classes to specific lists or divs (the code is the same for each). If you simply wish for it to work in a div, remove the list items around it (the code will still work). UPDATE, the code has been altered slightly as of 29/9/2011 to make it easier to work with. Alternatively, you can download the zip here. Like It?
Ultimate CSS Gradient Generator - ColorZilla.com background: #1e5799; /* Old browsers */ background: -moz-linear-gradient(top, #1e5799 0%, #2989d8 50%, #207cca 51%, #7db9e8 100%); /* FF3.6+ */ background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#1e5799), color-stop(50%,#2989d8), color-stop(51%,#207cca), color-stop(100%,#7db9e8)); /* Chrome,Safari4+ */ background: -webkit-linear-gradient(top, #1e5799 0%,#2989d8 50%,#207cca 51%,#7db9e8 100%); /* Chrome10+,Safari5.1+ */ background: -o-linear-gradient(top, #1e5799 0%,#2989d8 50%,#207cca 51%,#7db9e8 100%); /* Opera 11.10+ */ background: -ms-linear-gradient(top, #1e5799 0%,#2989d8 50%,#207cca 51%,#7db9e8 100%); /* IE10+ */ background: linear-gradient(to bottom, #1e5799 0%,#2989d8 50%,#207cca 51%,#7db9e8 100%); /* W3C */ filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#1e5799', endColorstr='#7db9e8',GradientType=0 ); /* IE6-9 */
25 techniques CSS pour ne pas avoir à réinventer la roue (partie 1) Les CSS permettent d’améliorer considérablement la présentation d’une page ou d’un formulaire. Beaucoup de développeurs se lancent dans des heures de réflexions et d’écriture alors qu’une technique qui a fait ses preuves sur le net est à disposition librement. Pourquoi aller chercher à réinventer la roue. Barre de Menu Horizontale CSS Tabs 11 styles de menus différents pour habiller votre site Menu déroulant vertical et horizontal Pratique : cette une technique est assortie d’une explication en Français Un autre menu déroulant vertical Idéal si vous avez plusieurs niveaux dans votre menu CSS Based Navigation Un menu avec un très beau design Navigation Matrix Reloaded Une autre très beau menu CSS où le remplacement des images est relativement facile Tableau et Formulaire Pour peaufiner un formulaire Permet de gérer l’affichage des élements radiobutton et checkbox de vos formulaires Superbes messages Technique CSS pour avoir des messages clairs : erreur, alerte, information… Tableau « retractable »