background preloader


Facebook Twitter

Slick login form with HTML5 & CSS3. We already know that CSS3 has the ability to create a lot of new possibilities to design and implement better web forms.

Slick login form with HTML5 & CSS3

Also, HTML5 has its important role when it comes about creating more usable forms, without actually needing any Javascript code. Knowing that, check out the below preview to see the login form we're going to create in this article: View demo Markup <form id="login"><h1>Log In</h1><fieldset id="inputs"><input id="username" type="text" placeholder="Username" autofocus required><input id="password" type="password" placeholder="Password" required></fieldset><fieldset id="actions"><input type="submit" id="submit" value="Log in"><a href="">Forgot your password? The HTML5 stuff New HTML5 attributes descriptions, according to latest specifications: The CSS.

Conditional CSS. I got some great comments on my post about conditionally loading content.

Conditional CSS

Just to recap, I was looking for a way of detecting from JavaScript whether media queries have been executed in CSS without duplicating my breakpoints. Samples. Animated Content Tabs with CSS3. About us You think water moves fast?

Animated Content Tabs with CSS3

You should see ice. It moves like it has a mind. CSS3 Shapes. An image gallery in pure CSS using :target. Ingrid - Un layout CSS fluide pour du responsive webdesign. The Definitive Guide to CSS Animations and Transitions. The animation and transition tags are summary properties, composed of all the various options you can apply to an animation or transition.

The Definitive Guide to CSS Animations and Transitions

They are largely to do with the movement of objects or setting a transition phase to make things appear to be more smooth. Across the internet a wide variety of examples have been composed showing the capabilities that CSS3 and these properties bring to the table. The Difference The main difference between an animation and a transition is a transition can only change from one element to another on hover or when an element becomes active, i.e. through a pseudo class.

The 30 CSS Selectors you Must Memorize. Twice a month, we revisit some of our readers’ favorite posts from throughout the history of Nettuts+.

The 30 CSS Selectors you Must Memorize

This tutorial was first published in November, 2010. So you learned the base id, class, and descendant selectors - and then called it a day? If so, you're missing out on an enormous level of flexibility. While many of the selectors mentioned in this article are part of the CSS3 spec, and are, consequently, only available in modern browsers, you owe it to yourself to commit these to memory. Let's knock the obvious ones out, for the beginners, before we move onto the more advanced selectors.

The star symbol will target every single element on the page. CSS Template Layout Module. Abstract A grid with four slots defined by ‘display: "aaaaaaa" "bccccdd"’.

CSS Template Layout Module

CSS is a simple, declarative language for creating style sheets that specify the rendering of HTML and other structured documents. This specification is part of level 3 of CSS (“CSS3”) and contains features to describe layouts at a high level, meant for tasks such as the positioning and alignment of “widgets” in a graphical user interface or the layout grid for a page or a window, in particular when the desired visual order is different from the order of the elements in the source document. Other CSS3 modules contain properties to specify fonts, colors, text alignment, list numbering, tables, etc.

CSS-Tricks. The Shapes of CSS. CSS Tools: Reset CSS. The goal of a reset stylesheet is to reduce browser inconsistencies in things like default line heights, margins and font sizes of headings, and so on.

CSS Tools: Reset CSS

The general reasoning behind this was discussed in a May 2007 post, if you're interested. Reset styles quite often appear in CSS frameworks, and the original "meyerweb reset" found its way into Blueprint, among others. The reset styles given here are intentionally very generic. Examples of flexible layouts with CSS3 media queries. In my CSS3 presentation that I’ve given several times over the past year, the part that seems to impress the audience the most is my demonstrations of media queries.

Examples of flexible layouts with CSS3 media queries

I’m with them. I think media queries are perhaps the most useful and exciting piece of all the great new stuff that’s new to CSS3. While creating effective, attractive, flexible layouts that adapt to the user’s screen size has always been possible, media queries add another layer on top of flexible layouts to make them even more adaptable to an even wider range of sizes, allowing you to really fine-tune the experience for even more users. Media queries allow you to selectively feed styles based on the characteristics of the user’s display or device, such as how much width is available in the viewport, whether it’s in portrait or landscape mode, or whether it can display color.

CSS Cheat Sheet. CSS Message Boxes for different message types. Can you believe this: Few days ago I went to my bank to check my credit score with the Credit Bureau.

CSS Message Boxes for different message types

The bank official typed in my personal data and sent a request. Nice and Free CSS Templates. Create CSS3 Buttons Compatible with All Browsers - CSS3 brings with it some awesome styling features, like rounded corners, gradients and borders, but also brings a lot of headaches to those who want to implement it inside web pages, due to Internet Explorer lack of support for these great features.

Create CSS3 Buttons Compatible with All Browsers -

If you feel guilty for making use of CSS3, don`t be, because I`m going to show you how you can create web elements only with CSS3 which are compatible with all browsers. Today, I want to show you how to create some beautiful buttons which make use of the latest CSS3 features and, most importantly, pass the cross-browser compatibility test, which means they will look awesome in modern brosers, like Chrome and Firefox, but also will look pretty good in older brosers, even IE6. 1566 downloads How`s that possible?

Pure CSS3 Windows7 Start Menu. 20 stunning examples of CSS 3D transforms. Net magazine is the number one choice for the professional web designer and developer. Create a CSS3 Image Gallery with a 3D Lightbox Animation – Inspect Element. 19th April, 2011 Tom Kenny Tutorials For the most part, the CSS3 tutorials and examples out there are a little dull. Of course there are some really great examples out there such as Benjamin de Cock’s CSS Playground but most others consist of a drop-shadow here and a few rounded corners there and nothing more.

It’s time to start doing something more inspirational and useful at the same time. Having been inspired to get ‘Hardboiled‘, I’ve started playing around with a few cool techniques and exploring how to make the content accessible in less capable browsers while giving the best possible experiences to the ones that support the latest advancements in CSS. I’ve taken Benjamin’s CSS lightbox gallery and built upon by adding a few hover effects for the gallery grid itself and a 3D rotation for the lightbox content, all with the use of CSS.

View Demo. Border-radius: create rounded corners with CSS! Home / CSS3 Previews / Border-radius: create rounded corners with CSS! The CSS3 border-radius property allows web developers to easily utilise rounder corners in their design elements, without the need for corner images or the use of multiple div tags, and is perhaps one of the most talked about aspects of CSS3. Lab - CSS3 Button. Nice button with no graphics - simple css3. Has regular, hovered and pressed style. Auto width and height. and I am simple divwith <br /> and auto width. CSS3 + Progressive Enhancement = Smart Design. Progressive enhancement is a good thing, and CSS3 is even better. Combined, they enable designers to create lighter, cleaner websites faster and easier than ever before..

CSS3 can do some pretty amazing stuff: text shadows, rgba transparency, multiple background images, embedded fonts, and tons more. It’s awesome, but not all browsers are up to snuff. As designers, it’s up to us to decide which browsers to support for our projects. Among these generalized strategies, the second approach comes closest to the concept of progressive enhancement. A Quick Example Consider a basic layout done with good ‘ol CSS 2.1 and HTML 4.01. Définir des bordures en CSS3. Introduction Grâce au CSS3, les bordures deviennent plus personnalisables et offrent désormais la possibilité d'utiliser des dégradés, des coins arrondis, des ombres et des images. Continuez la lecture de cette page pour découvrir comment mettre en place des bordures en CSS3.

Comprendre les couleurs CSS3. Introduction au CSS3. Le CSS3 en bref Très brièvement, le CSS, pour "Cascading Style Sheets", est un langage de balisage permettant de modifier et de donner du style à un site Web. Le "3" représente la prochaine génération / version de ce langage. Nos tutoriels Nous allons présenter dans cette série de tutoriels les nouveautés apportées par cette version. Nous nous adressons donc à ceux qui connaissent déjà le CSS. Si ce n'est pas votre cas, nous vous recommandons de l'apprendre avant de continuer ou de suivre notre formation (X)HTML/CSS.

Vous pourrez ensuite revenir ici suivre nos tutoriels. CSS3 Daft Punk LEDs. CSS3 Transitions And Transforms From Scratch. CSS3 Patterns Gallery. Browser support The patterns themselves should work on Firefox 3.6+, Chrome, Safari 5.1, Opera 11.10+ and IE10+. The Pure CSS3 Content Slider. Using CSS and Mootools to simulate Flash horizontal navigation effect. Some year ago I was a big Macromedia/Adobe Flash fan.