background preloader

CSS

Facebook Twitter

Apprendre les mises en page CSS. The Simpler CSS Grid. Last week I talked about 960 Grid System is Getting Old.

The Simpler CSS Grid

Surprisingly a lot of comments have been made. It seems like people are using 960gs because of the "golden ratio" — all numbers are even. I'm a designer, not a grid scientist. Why restrict your layout so that it can fit into this 960gs? A grid is supposed to help you in design, not to limit your creativity. Problems with 960.gs Narrow Gutter Space I did a quick Photoshop mockup to show how 20px gutter space would look like on 960gs. To solve this small gutter problem, a lot of people add padding to either the content area or sidebar containers, making that subsequent content area smaller. Unnecessary Left and Right Margin To those who don't know, the content width in 960gs is actually 940px, not 960px. Too Many Classes Visual aesthetic might be a personal biased but, even so, there seems to be some fundamental CSS issues as well. 22 Useful HTML5 CSS3 Form Tutorials - SpyreStudios 

Using HTML5 and CSS3 you can create creative web forms with great specifications.

22 Useful HTML5 CSS3 Form Tutorials - SpyreStudios 

CSS3.0 Generator. CSS3 rem units - SitePoint. CSS3 Browser Support and Information. Initiation au positionnement CSS (partie 2) Get started with CSS animation. Knowledge needed: Basic HTML and CSS Requires: HTML/CSS editor, modern browser Project Time: 1-2 hours Support file "Animating" with CSS used to be limited to hovering effects.

Get started with CSS animation

With :hover and :focus pseudo classes we've been able to change color, size, background-color, position, and many other CSS properties based on user action. Superperposer un texte sur une image. Comment positionner un texte sur une image?

Superperposer un texte sur une image

Deux méthodes simples selon l'effet que l'on veut obtenir, sans utiliser de table. Le code fonctionne sur tous les navigateurs récents. Pure CSS Parallax Scrolling. CSS3 – Effet parallaxe (sans JavaScript) Retour des tutoriels CSS avec quelque chose d’un peu original pour cet article : un effet parallaxe uniquement en CSS3.

CSS3 – Effet parallaxe (sans JavaScript)

C’est à la suite de l’article de Simon Kern sur Alsacréations que m’est venue l’envie de tenter d’utiliser CSS pour reproduire cet effet initialement conçu avec JavaScript. L’article zoom sur l’effet parallaxe de Simon est bien conçu, je vous invite à le lire si vous préférez l’utilisation de jQuery, ou si vous souhaitez découvrir une alternative ou un complément à ce tutoriel. Animate.css. Creative Juiz, Webdesign, HTML5, CSS3, WordPress, jQuery, JS, tutoriel. There’s more to the CSS rem unit than font sizing. The following is a guest post by Roman Rudenko, a mad scientist at Mobify where he’s tasked with understanding why browsers misbehave and with cajoling them into playing nice.

There’s more to the CSS rem unit than font sizing

When he’s not coding, Roman is learning to ride a motorbike without crashing into too many solid objects. Many web designers and developers are familiar with the CSS rem length unit. But, you may not know that it has a couple of handy alternate uses. In this post, I’ll describe how to use the CSS rem unit to scale specific page elements while leaving others unaffected. I’ll also discuss how to use it as a replacement for the under-supported vw (viewporth width) unit. For readers unfamiliar with the rem unit (standing for "root em"), it provides a way to specify lengths as fractions of the root element’s font size.

First, let’s look at how rem works and how it differs from the em unit. Rem can be used for its typical font sizing duty. Scaling document elements. Les Media Queries CSS3. La spécification CSS3 Media Queries définit les techniques pour l'application de feuilles de styles en fonction des périphériques de consultation utilisés pour du HTML.

Les Media Queries CSS3

On nomme également cette pratique Responsive Web Design, pour dénoter qu'il s'agit d'adapter dynamiquement le design à l'aide de CSS. Ces bonnes pratiques permettent d'exploiter encore plus les avantages de la séparation du contenu et de la présentation : l'intérêt est de pouvoir satisfaire des contraintes de dimensions, de résolutions et d'autres critères variés pour améliorer l'apparence graphique et la lisibilité (voire l'utilisabilité) d'un site web. Les plateformes exotiques sont concernées en premier lieu : navigateurs mobiles et tablettes, écrans à faibles résolutions, impression, tv, synthèses vocales, plages braille, etc. 10 Amazing Examples of Innovative CSS3 Animation. CSS3 has brought about a number of aesthetically impressive new features.

10 Amazing Examples of Innovative CSS3 Animation

Perhaps the most fun of these to play with is CSS animation, which allows you to perform many motion-based functions normally delegated to JavaScript. Join me on my epic quest to discover the coolest, most innovative, and more importantly, nerdiest use of CSS animation on the web. Begin! Warning: These animations are pretty browser specific, so if you’re surfing in IE6, it’s time to stop watching Saved By The Bell, ditch the dial-up connection and download a modern browser. Rotating Polaroids This tutorial shows you how to create an amazing, animated pile of photographs utilizing a ton of new CSS3 commands.

Click to View Demo The Matrix Follow the white rabbit.. err I mean, check out this awesome Matrix animation. CSS3 Parallax without JavaScript. This demo is a nod to the Stop Wars' Mission that I invite you to discover.

CSS3 Parallax without JavaScript

The remainder of this text is Schnapsum… Lorem Salu bissame ! Wie geht's les samis ? Hans apporte moi une Wurschtsalad avec un picon bitte, s'il te plaît.Voss ? CSS3 Transition. Downloads. Text shadow box - zachstronaut. 47 Amazing CSS3 Animation Demos. Here is a compilation of 47 jaw-dropping CSS3 animation demos.

47 Amazing CSS3 Animation Demos

They demonstrate the possibilities of the CSS3 transform and transition property. Some are very useful and can be used as Javascript alternatives. Most of them are simply to look cool. In order to veiw these effects, you need a webkit browser such as Safari and Chrome (sorry to the Internet Explorer users). Enjoy! Les marges en CSS avec margin et padding. Pour affecter des marges aux différents éléments d'une page web, les propriétés CSS à utiliser sont margin, pour les marges extérieures, et padding pour les marges intérieures. Quand on a dit ça, on pourrait croire que ça suffit tant ça paraît simple. En fait, ce n'est pas tout à fait vrai... Style CSS , Des outils et exemples d'utilisation des nouvelles technologies du CSS3 et HTML5. Loading Effects for Grid Items. 47 Amazing CSS3 Animation Demos.

Comprendre mise en page CSS dans Dreamweaver CS6 Partie 1 - Dreamweaver. Lors de la conception des sites, une partie cruciale de la conception est mise en page. CSS (Cascading Style Sheets) est la principale technologie qui vous permettra de positionner et disposez vos éléments sur votre site. CSS-Tricks.

There’s more to the CSS rem unit than font sizing. CSS3 rem units. Font sizing with rem. Determining a unit of measurement to size our text can be a topic of heated debate, even in this day and age. Unfortunately, there are still various pros and cons that make the various techniques less desirable. It's just a matter of which less-desirable is most desirable. There are two main techniques that are extolled: Size with pxSize with em Let's review these two approaches before I reveal the magical third. Sizing with px In the early days of the web, we used pixels to size our text. I, personally, have been of the camp that px-based layouts provide the consistency I prefer and users have enough tools available to adjust their view that accessibility is less of a concern.

Sizing with em That whole inability to resize text in IE has been a continuing frustration. CSS3 Browser Support and Information. CSS3 . Info - All you ever needed to know about CSS3. Les préfixes vendeurs en CSS - Alsacreations. Afin de permettre le développement progressif et l'implémentation des modules CSS, les éditeurs de navigateurs (vendors) ont la possibilité d'introduire le support de propriétés spécifiques. 24 Best CSS3 Animation Demos and Tutorials. Today we are showcasing a post on CSS3 Animation featuring some of the best and most awesome functions. CSS3 is full of amazing features that you can take advantage of that you may not know about. That’s why we are going to go over some of those CSS3 features that are less explored. One of its most amazing feature is CSS3 Animation, which is fun and gives off an excellent effect.

All of these tutorials are very useful and some can even be used as Javascript alternatives. Check out these animation to get some inspiration for your own project. Timing des animations et des transitions en CSS3 - Alsacreations. L'arrivée de CSS3 il y a quelques années a pour plusieurs d'entre nous grandement révolutionné la manière dont nous intégrions un site Web. D'abord, ce furent les propriétés purement graphiques (coins arrondis, ombres portées) qui frayèrent leur chemin jusqu'en mode production. Ces propriétés étaient les mieux supportées des différents navigateurs, et elles étaient facilement imitables sur les plus anciens grâce aux outils à notre disposition (Par exemple: Css3Pie, Selectivizr, Modernizr, etc).