background preloader

CSS

Facebook Twitter

Reference

Css/edge. Please note that none of the demonstrations in css/edge are intended to work in Navigator 4.x. I say this not to denigrate that browser, but instead to spare you any frustration you might otherwise feel. This site exists to explore the cutting edge of HTML+CSS design, and Navigator 4.x is, at four years and counting, just too old to keep up with most things that will be done here. Again, there's nothing wrong with Navigator 4.x, but you probably don't want to use it in this area. Consider it a friendly warning. Welcome to the edge What is this? Expanding our horizons For the last seven years, we've been pushing Web design further and further down the same path. Like tables, there is another highly limiting structure that's composed of rows and cells: a prison. Css/edge is intended, first and foremost, to be as relentlessly creative with CSS as we have been practical all these years.

Inclusion Criteria Copyright. CSS Menu Generator - Horizontal, Vertical, Drop Down, DHTML CSS. CSS Layout: A collection of 224 Grid and CSS Layouts. Snazzy Hover Effects Using CSS. With all these CSS3 effects and tutorials popping up every day that show all the new and wonderful things we can make happen, we sometimes forget about poor little old CSS2.1 and the great potential it still has.

With very good browser support, we can do lots of cool things that we know will work in all major browsers. In this tutorial, I will be going over creating flexible advanced hover techniques using CSS2.1 properties. Here is a live demonstration of the effect we will be creating. Advanced hover states are quite simple When I first started learning CSS, the :hover pseudo-element was no more than a way to remove the underline on a text link.

Since then, through experimentation, I have learnt that it is so much more powerful and it can create some really cool effects when used in conjunction with other CSS properties. The astute reader will see that this technique has great potential outside of what we discuss here, such as showing CSS tool tips when hovering over a hyperlink. <! Wrap up. CSS3 Gradient Buttons. Last week I talked about Cross-Browser CSS Gradient. Today I’m going to show you how to put the CSS gradient feature in a good practical use. Check out my demo to see a set of gradient buttons that I have created with just CSS (no image or Javascript). The buttons are scalable based on the font-size. The button size can be easily adjusted by changing the padding and font-size values. What Is So Cool About These Buttons?

Pure CSS: no image or Javascript is used.The gradient is cross-browser supported (IE, Firefox 3.6, Chrome, and Safari).Flexible and scalable: button size and rounded corners can be adjusted by changing the font size and padding values.It has three button states: normal, hover, and active.It can be applied to any HTML element: a, input, button, span, div, p, h3, etc.Fallback: if CSS3 is not supported, it will display a regular button (no gradient and shadow). Preview The image below shows how the button will display in different browsers. Button States Color Gradient Styles. Tutoriel : formulaire 100% CSS3 sans image et sans JavaScript | Je vous invite à aller lire le tutoriel complet sur le CSS que j’ai écrit. Après avoir expliqué comment réaliser un bon formulaire HTML, pourquoi ne pas en réaliser un uniquement en CSS3 ? Les propriétés CSS3 utilisées ici sont les suivantes : border-radius pour les bords arrondisbox-shadow pour les ombres des blocscontent pour rajouter du contenu au HTMLgradient pour les dégradés des blocsrgba pour avoir des fonds transparentstext-shadow pour les ombres du texte J’utilise aussi les pseudo-classes CSS3 suivantes : :after pour rajouter du texte HTML à la suite d’un élément:last-child pour sélectionner le dernier enfant d’un élément:target pour séléctionner un élément lorsqu’une #ancre est utilisée dans l’adresse Dernière fonctionnalité utilisée : le sélecteur avancé [type=text] pour sélectionner un élément selon la valeur d’un de ses attributs HTML.

Bien sûr, toutes ces nouveautés CSS3 ne marchent pas partout, mais elles fonctionnent très bien sous Firefox et Safari/Chrome (Webkit).