CSS

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. That bit is important: I’m not looking for MatchMedia, which involves making media queries in JavaScript. Instead I’m looking for some otherwise-useless CSS property that I can use to pass information to JavaScript. 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. This is a pure collection of shapes made with CSS3 techniques.

CSS3 Shapes

These are inspired from the shapes on CSS3Shapes.com, and some of these shapes are created using the same technique while others are creating using a different approach. Most of the shapes are created by using the CSS3 pseudo classes :before and :after to reduce the number of divs. 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 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 - OurTuts.com. 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.

It's here that you find out about the latest new web trends, technologies and techniques – all in one handy package. Each issue boasts a wealth of expert tips and advice, including in-depth features and over 30 pages of advanced front and backend tutorials on subjects as diverse as CSS, HTML, JavaScript, WordPress, PHP, and plenty more. 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. <a href="#some_link" class="css_button">I am simple link</a> CSS3 + Progressive Enhancement = Smart Design. 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.

Pour commencer, il faut savoir que les spécifications CSS3 n'étant pas terminées, chaque navigateur reconnait certaines propriétés. Comprendre les couleurs CSS3. CSS3 fourni plusieurs propriétés pour manipuler les couleurs : hsl, hsla, rgba, opacity. Nous décrivons ici comment les utiliser. Le RGB (red, green, blue) - en français RVB : rouge vert bleu - est le format de codage des couleurs utilisé dans les versions précédentes du CSS. 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. 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.