background preloader

CSS3

Facebook Twitter

20 Fresh CSS3 Tutorials | Tutorials. CSS3 support in Internet Explorer 6, 7, and 8. What is it? IE-CSS3 is a script to provide Internet Explorer support for some new styles available in the upcoming CSS3 standard. How it works If you're viewing this page in Internet Explorer, some of the elements have been rebuilt by the script in Vector Markup Language (VML), an IE-specific vector drawing language.

VML supports things that are missing from IE's CSS implementation like rounded corners and blur effects. How to use it Just add CSS styles as you normally would, but include one new line: Issues and Workarounds You would expect URLs in behavior: url(...) to be relative to the current directory as they are in a background-image: url(...) style for example, but instead Microsoft decided to ignore standards here and make them relative to the docroot instead. You will probably run into issues with z-index, especially if embedding one IE-CSS3 enabled element inside of another.

Set the z-index of the IE-CSS3 element to a number larger than its surrounding elements. Filter Functionality with CSS3. Using the general sibling combinator and the :checked pseudo-class, we can toggle states of other elements by checking a checkbox or a radio button. In this tutorial we will be exploring those CSS3 properties by creating a experimental portfolio filter that will toggle the states of items of a specific type. View demo Download source The idea is inspired by Roman Komarov’s brilliant “Filtering elements without JS” experiment where he uses checkboxes and radio buttons for filtering colored shapes.

The beautiful Dribbble shots used in the demos are by Mike from Creative Mints. The Markup Let’s start with the markup. Our aim is to have four filter buttons that, once clicked, will make the respective type appear or stand out. The unordered list will contain all the portfolio items as anchors with an image and a span. The CSS We’ll be going through three example effects, but first, let’s take a look at the common style. The main section container will have a specific width: Example 1 Example 2 Demos. CSS Differences in Internet Explorer 6, 7 and 8 - Smashing Magazine. Advertisement One of the most bizarre statistical facts in relation to browser use has to be the virtual widespread numbers that currently exist in the use of Internet Explorer versions 6, 7 and 8.

As of this writing, Internet Explorer holds about a 65% market share combined across all their currently used browsers. In the web development community, this number is much lower, showing about a 40% share. The interesting part of those statistics is that the numbers across IE6, IE7, and IE8 are very close, preventing a single Microsoft browser from dominating browser stats — contrary to what has been the trend in the past. Due to these unfortunate statistics, it is imperative that developers do thorough testing in all currently-used Internet Explorer browsers when working on websites for clients, and on personal projects that target a broader audience.

This article does not discuss: Any item that is not supported by any of the three browser versionsProprietary or vendor-specific CSS Example Bugs. How To Support Internet Explorer and Still Be Cutting Edge - Smashing Magazine. Advertisement Everyone has been going on about how we should use CSS3 more and all of the possibilities and flexibility that come with it, but that we should still consider IE6 and other troubling browsers.

But how do we actually do that? How do we create websites that are up to date with the latest coding techniques but that are also usable for people experiencing the Web on Internet Explorer? In this article, we’ll see what measures we can take to provide a good experience for IE users but keep moving on. We will mainly focus on the CSS part but will also provide some handy tips on dealing with overall markup. Also consider our previous articles: The Content Is What Matters Jeffrey Zeldman once said, “content precedes design. Using CSS3 doesn’t mean we should forget about older browsers and lock visitors out of our websites. This doesn’t mean we should quit the fight to eradicate IE6 either.

YouTube and Twitter warning messages for IE6 users When we create a new website, we do it in steps. CSS3 Solutions for Internet Explorer - Smashing Magazine. Advertisement Experienced developers understand that CSS3 can be added to new projects with progressive enhancement in mind. This ensures that content is accessible while non-supportive browsers fall back to a less-enhanced experience for the user. But developers could face a situation where a client insists that the enhancements work cross-browser, demanding support even for IE6. In that case, I’ve collected together a number of options that developers can consider for those circumstances where support for a CSS3 feature is required for all versions of Internet Explorer (IE6, IE7, & IE8 — all of which are still currently in significant use).

Opacity / Transparency I think all developers are baffled at why Internet Explorer still fails to support this very popular (albeit troublesome) property. The Syntax You really only need the second line, which works in all versions of Internet Explorer. The Demonstration This is the same element without the opacity settings. The Drawbacks Box Shadow. The future of CSS layouts. 50+ Awesome CSS3 Techniques for Better Designs. CSS3 is gaining momentum, despite the fact that the standard hasn’t even been finalized. There are hundreds of tutorials out there to teach designers how to use it, but unfortunately a lot of them cover the same ground. And some of the tutorials teach designers to do things that they might not think of as useful, though the techniques can usually be adapted to fit a project perfectly. Below are more than fifty awesome CSS3 tutorials.

Many are strictly CSS and HTML based, while others also incorporate JavaScript. If you have a favorite technique or tutorial that’s not included below, please share it in the comments! Using CSS3 For Imageless Illustration Various new methods in CSS3 allow a number of very complex graphics to be created using pure CSS and no images. Pure CSS iPhone Illustration A mixture of borders, transforms and gradients to make an animated image of an iPhone. Creating The Opera Browser Logo in CSS3 A clean illustration of the Opera logo rendered using CSS3 techniques. CSS3 . Info - All you ever needed to know about CSS3. 11 Classic CSS Techniques Made Simple with CSS3. We've all had to achieve some effect that required an extra handful of divs or PNGs. We shouldn't be limited to these old techniques when there's a new age coming. This new age includes the use of CSS3. In today's tutorial, I'll show you eleven different time-consuming effects that can be achieved quite easily with CSS3.

I'm sure you've heard of CSS in general. CSS3 isn't that much different, in terms of syntax; however, the power of CSS3 is much greater. As you'll see in these eleven techniques, you can have multiple backgrounds, dynamically resize those backgrounds, border radiuses, text shadows, and more! Here's what the official (or at least, what I consider official) website of CSS3, css3.info, has to say about CSS3: CSS3 is the new kid in the stylesheet family. Here are the 11 techniques that I'll be showing you how to recreate with CSS3. Probably my favorite on of this list, rounded corners provide a developer with so many options. View the demo. I'm using the dropShadow plugin. CSS3 properties exposed | css3files.com.

CSS3 properties exposed in »shadow« | css3files.com. CSS3 PIE: CSS3 decorations for IE. CSS 3 Cheat Sheet (PDF) - Smashing Magazine. Advertisement Just last week we released an extensive printable HTML 5 Cheat Sheet that lists all currently supported HTML 5 tags, their descriptions, their attributes and their support in HTML 4. In comments to this post we received many requests for a similar CSS 3 cheat sheet that would present the main features of CSS 3 in a handy, printable reference card. So we asked our friend Chris Hanscom from Veign.com (who created the HTML 5 cheat sheet) to create a quick reference card for CSS 3. We already encouraged you to experiment with CSS 3 in our last posts and now you can use this handy cheat sheet to use the new CSS 3 features in some modern browsers (Firefox 3.5, Opera 9.6, Safari 3+, Google Chrome and Co.).

The result is a printable CSS 3 scrib sheet, created and released exclusively for the readers of Smashing Magazine. Thank you for your great work, Chris Hanscom! Download the CSS 3 Cheat Sheet for free! Preview (.gif, 1255×882px)download the pdf (5 pages, 123 Kb) It's done. The Font-Face Rule And Useful Web Font Tricks - Smashing Magazine. Advertisement The possibility of embedding any font you like into websites via @font-face is an additional stylistic device which promises to abolish the monotony of the usual system fonts. It surely would be all too easy if there was only one Web font format out there. Instead, there’s quite a variety, as you will get to know in this article. This quick introduction to @font-face will lead you towards a guide through the @font-face kit generator. If you want to make Web use of your already licensed desktop fonts, read up on how to embed them from your own server. Topped up with some helpful tips, tricks and workarounds, this article will hopefully provide some useful insights.

Web Font Formats EOT, TTF, OTF, CFF, AFM, LWFN, FFIL, FON, PFM, PFB, WOFF, SVG, STD, PRO, XSF, and the list goes on. TrueType This format was developed in the late 1980s as a competitor to Adobe’s Type 1 fonts used in PostScript. OpenType Microsoft and Adobe teamed up in developing this font format. Font Formats. Best Collection of CSS3 Tutorials and Techniques | DesignModo. The latest revolutionary technology in web-designing, CSS3 is at the disposal of a web-designer to improve the working-flow and create exciting web pages. The new advanced features make the designing much easier, leaving the time consuming process of complex effects recreations in the past.

Actually, CSS3 made classic CSS techniques easier to implement, thus providing greater flexibility and making the overall process much faster and much more effective. When implementing CSS3 techniques, take into account that only the most up-to-date browsers can support them. However, CSS3 is worth trying as the new features and effects will help to create stunning web pages. In today’s post we have collected several CSS3 tutorials as well as the reviews of most interesting CSS3 techniques which are worth putting into practice.

CSS3 Text How to Create Inset Typography with CSS3 In this tutorial, we’ll create inset type, a popular text treatment, using CSS. CSS3 Navigation Menu with Notification Badges. Useful HTML5 & CSS3 Toolbox For Web Developers / HTML 5 / Splashnology - Web Design and Web Technology Community. InShare0 HTML5 and CSS3 are really revolutionizing web development and web design, because they are bringing so many new features to work with to the fields. In this article you’ll be able to find some great tools, cheat sheets and much more you could need to master these new features. Here we present you, a list HTML5 tutorials and techniques that you can’t miss if you are a web developer. A Web Developer’s Guide to HTML 5 Dive Into HTML5 HTML 5 Demos HTML 5 Forms Demo HTML 5 Video HTML5 Doctor HTML5 for Beginners HTML5 Gallery The WHATWG Blog When can I use WTF is HTML 5 CSS3 Previews HTML5 and CSS3 Experiments HTML5 Canvas HTML5 Readiness Advertisement Code a Backwards Compatible, One Page Portfolio with HTML5 and CSS3 Coding a CSS3 & HTML5 One-Page Website Template Coding A HTML 5 Layout From Scratch Create Windows 7 Start Menu Using CSS3 Only CSS3 Gradient Buttons Quick Tip Learning About HTML5 Local Storage Structural Tags in HTML5 CSS 3 Cheat Sheet Download CSS Properties Index HTML 5 Cheat Sheet Download.

Selectivizr - CSS3 pseudo-class and attribute selectors for IE 6-8. Initializr - Start your HTML5 project in 15 seconds! HTML5 Boilerplate - A rock-solid default template for HTML5 awesome. CSS-Tricks. Hover on “Everything But” Adding a hover state to an element is durn easy. Let's use an opacity change as an example: But what if we want to have that hover state apply to everything but the element actually being hovered over? (e.g. other adjacent sibling divs) Let's assume this basic HTML: We'll apply the current CSS properties to all the children of the parent when the parent is in the hover state. Then when the parent is hovered and the individual div is hovered, we bump the opacity back up, giving the final effect we are looking for. Real World? A similar kind of thing is in the Twitter for Mac app on individual tweets: Demo This idea can be extended into multiple levels of depth.

View Demo Download Files And yes, old you-know-who browsers don't do :hover on anything but anchor links. CSS-Tricks. CSS3 PIE: CSS3 decorations for IE. CSS3 dropdown menu – Red Team Design. While this is still an up-to-date version, I just wanted to let you know I made an improved and animated version of this CSS3 menu. You may want to check that first. Today you'll learn how to create your own CSS3 dropdown menu, without any additional Javascript code. There are no images used and, as usual, minimal HTML markup.

Let's see how is made: If you're in a hurry, here's the result: View demo HTML structure As you can see in the following lines, the HTML structure does not contain more than we need, it's a minimal one and easy to understand. <ul id="menu"><li><a href="#">Home</a></li><li><a href="#">Categories</a><ul><li><a href="#">CSS</a></li><li><a href="#">Graphic design</a></li><li><a href="#">Development tools</a></li><li><a href="#">Web design</a></li></ul></li><li><a href="#">Work</a></li><li><a href="#">About</a></li><li><a href="#">Contact</a></li></ul> One more thing, also very important, this is semantic HTML.

Clean and accessible HTML structure The CSS Quite long list, huh? How to avoid common CSS3 mistakes. CSS Modal. Using CSS3 techniques a modal box can be created without JavaScript or images. With a bit of animation, transition and transform, it can be made that little bit more special. CSS Modal Experiment Modal experiment updated for Firefox 10 which has better transform, transition and animation performance. Also supports 3D transforms. In this experiment, clicking an ‘open’ link pops up a dialogue with a smooth hardware accelerated bounce (where supported). Of course, using images and JS will only make the modal better, and something like hitting ESC to close will never be reproduced in CSS.

How to The :target pseudo-selector changes the style of a targeted element. The modal is two parts, one part container, one part content. The content is positioned roughly in the middle and is prettified with a sprinkling of text shadow, border radius, box shadow and gradient. The simple opacity transition: The scaling animations, although only 2D, uses scale3d for hardware acceleration. Caveats. CSS3 Generator - By Eric Hoffman & Peter Funk. HTML5 & CSS3 Support, Web Design Tools & Support ~ FindMeByIP ~