Added to HTML by Buda Basic Page Structure HTML 5 Added to HTML by Sven Hofmann Basic Page Structure XHTML 1.1 Valid <! Added to HTML by Hans. Learn CSS Layout. 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. 39 Box Shadows. Viewport Sized Typography.
CSS3 has some new values for sizing things relative to the current viewport size: vw, vh, and vmin.
It is relevant to bring up now, because it's shipping in Chrome 20 (canary at the time of this writing). And not behind a flag, it just works. Production usage isn't quite there, but it will be soon enough. Why is this awesome? There are many reasons. There is a such thing as a comfortable line length for reading text on screens. How they work One unit on any of the three values is 1% of the viewport axis. For use with font-size, I guess it's one "letter" that takes on that size, but as we know, in non-mono-spaced fonts the width of a letter is rather arbitrary. 1vw = 1% of viewport width 1vh = 1% of viewport height 1vmin = 1vw or 1vh, whichever is smaller 1vmax = 1vw or 1vh, whichever is larger Using them Easy cheezy: Demo Here's a video of a simple layout using vw units for the font-size.
Check out the demo yourself (see browser support). Bugs! I bugged it. Browser Support Not just font-size. CSS3 Loading Animation Loop. Hi folks, this time we’re going to see and create three CSS3 animation loop, can be used in many fields, such as preloader for images with jQuery.
I remember this animations are only visible in Firefox, Safari and Chrome. Let’s see how to create it. First Example CSS3 Loading Animation Loop In this first example, create only two div and thanks to the border-radius property, they will take the circle shape. For the CSS style is very simple, just play with the parameters for the graphic you want, as regards the animation simply use the transform:rotateproperty. Second Example CSS3 Loading Animation Loop The second example is the same as the precedent for the markup, the main difference you’ll find it in the CSS. Simply in this example we are going to act on the rotation, and more we insert an animation that will allow us to have an pulse effect.