3. The power of the web has arrived for mobile phones
and tablets. CSS3 gives web sites a dynamic,
interactive capability and greater useability. CSS3
adds fine grained controls for designers looking to
bring the web closer to reality.
7. Reduced development and maintenance time
• Less images, Flash, JavaScript
• Streamlined markup
8. Increased page performance
• Smaller file sizes
• Fewer HTTP requests
“Reducing the number of HTTP requests…is the most important
guideline for improving performance for first time visitors.”
Yahoo! Exceptional Performance Team
9. Better search engine placement
• Google uses speed as ranking factor
• Real text instead of image or Flash text
13. Progressive Enhancement
• Deliver the best possible experience to the widest
possible audience.
• Should be as fully featured and functional as
possible.
15. Use the parts of CSS3 that:
• have generally stable syntax
• have good support
• don't harm non-supporting browsers by their lack.
• http://caniuse.com
“Subtle CSS3 effects should be employed as a reward for users
who run a modern browser.”
- Front-End Development Guidelines, Yahoo
19. Gradients
• Can be used in every place you can use an image
• background: linear-gradient(white, black);
• Prefixes:
– -webkit- Chrome and Webkit
– -moz- Firefox 3.6+
– -o- Opera 11.1 (linear only)
– -ms- IE 10
32. • Slides posted at www.paultrani.com
• Flexible Web Design www.flexiblewebbook.com
• Stunning CSS3 www.stunningcss3.com
• www.w3.org/Style/CSS/current-work
• www.caniuse.com
Notas del editor
http://developer.yahoo.com/performance/rules.html
Delight the user with what’s available, and not moan about what isn’t or make the experience terrible for those without.
Modify header.
We have long had the opacity property, which is similar, but opacity forces all decendant elements to also become transparent and there is no way to fight it (except weird positional hacks <http://css-tricks.com/non-transparent-elements-inside-transparent-elements/> ) Cross-browser opacity <http://css-tricks.com/css-transparency-settings-for-all-broswers/> is also a bit sloppy.
http://24ways.org, http://css-tricks.com/text-blocks-over-image, www.marcofolio.net/css/sweet_tabbed_navigation_using_css3.html
Hue is derived from a degree on the color wheel: 0 & 360 being red, around 120 for the greens, 240 for the blues and everything else in betweenSaturation is a percentage: 0% being grayscale and 100% in full colorLightness is a percentage: 0% is dark, 50% the average and 100% the lightest