CSS3: Si se puedehttp://findmebyip.com/litmus/Estelle Weylhttp://standardista.comhttp://evotech.net/blog@estellevw
CSS2.1
CSS3Unfinished, but well supported
Graceful Degradation /Progressive Enhancement
Don’t need to be identical
Don’t need to be identicalSites need to be usable and look as good as possible to as many people as possible.
Modernizr<html class=“jscanvas canvastextgeolocationcrosswindowmessaging no-websqldatabase no-indexeddbhashchange no-historymanagementdraganddrop no-websocketsrgbahslamultiplebgsbackgroundsizeborderimageborderradiusboxshadow opacity no-cssanimationscsscolumnscssgradients no-cssreflectionscsstransforms no-csstransforms3d no-csstransitions  video audio localstoragesessionstoragewebworkersapplicationcachesvg no-smilsvgclippaths    input-multiple video-ogg audio-ogg audio-wav fontface”>
Implementable FeaturesCSS3 Selectors.Text Shadow (2.0).Box Shadow (prefixed)Rounded Corners (prefixed).@font-faceAlpha Transparency (hsla, rgba).Opacity.Rotation.
Implementable FeaturesMultiple background imagesText-overflowGradientsTransformsBackground size
Implementable Features?Multi-column layoutAnimationsTransitionsBorder-imageReflections
CSS3 SelectorsE[attribute] E[attribute=value] E[attribute~=value] E[attribute|=value] E[attribute^=value] E[attribute$=value] E[attribute*=value]:not([attribute])
CSS3 Selectors:last-child:only-child :nth-child() :nth-last-child():first-of-type :last-of-type :only-of-type :nth-of-type():nth-last-of-type():empty :not() :target :enabled:disabled:checkedhttp://www.standardista.com/css3/css3-selector-browser-support
CSS3 Selectors:nth-of-type()tr:nth-of-type(even) td{   background-color: #dedede;}http://www.standardista.com/sandbox/nthoftype.html
CSS3 Selectors:nth-of-type()$(‘tr:nth-of-type(even)’).addClass(‘evenrow’)tr:nth-of-type(even) td, tr.evenrow td{   background-color: #dedede;}+ jQuery
CSS3 Selectors Hackselector:nth-of-type(n) { /* hide from IE */}
Alpha Tranparencyrbga( red, green, blue, opacity);.blackfilter{   background-color: rgba(0, 0, 0, 0.4);}http://www.standardista.com/articles/rgba.html
Alpha Tranparency.blackfilter{background:transparent;filter:progid:DXImageTransform.Microsoft.gradient( startColorstr=#99000000,endColorstr=#99000000);   zoom: 1;   background-color: rgba(0,0,0,0.4);}
OpacityDoesn’t have the impact you intended.halfthere {     opacity: 0.4;}http://www.standardista.com/articles/rgba_notopacity.html
OpacityDoesn’t have the impact you intended.halfthere {     opacity: 0.4;     filter: alpha(opacity=0.4)}http://www.standardista.com/articles/rgba_notopacity.html
OpacityDoesn’t have the impact you intended.halfthere {     opacity: 0.4;     filter: alpha(opacity=0.4)}Coming in Opera 10http://www.standardista.com/articles/rgba_notopacity.html
HSL(A)Hue, saturation, lightness, alpha-transparencyhttp://www.standardista.com/sandbox/hsl.phphttp://www.standardista.com/sandbox/hsl360.php
Rounded Corners.rounded {    -moz-border-radius: 3px;    -webkit-border-radius: 3px;    border-radius: 3px;}Order: topleft, topright, bottomright, bottomleft.
Rounded Corners.rounded {    -moz-border-radius: 3px;    -webkit-border-radius: 3px;    border-radius: 3px; position: relative;}$(‘.rounded’).append(‘<b class=“tr”></b> <b class=“tl”></b><b class=“br”></b> <b class=“bl”></b>’);
Text Shadow.shadowed {  text-shadow: 3px 3px 3px rgba(0,0,0,0.4);}leftOffsetrightOffset blur Color
Box Shadow-moz-box-shadow:    5px 5px 5px rgba(0, 0, 0, 0.4), 			    inset -5px -24px 24px rgba(255, 206, 168, 0.6);-webkit-box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.4),          inset -5px -24px 24px rgba(255, 206, 168, 0.6);box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.4),	 			 inset -5px -24px 24px rgba(255, 206, 168, 0.6);       /* Opera 10.5, IE 9.0 */
Box Shadow-moz-box-shadow:    5px 5px 5px rgba(0, 0, 0, 0.4), 			    inset -5px -24px 24px rgba(255, 206, 168, 0.6);-webkit-box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.4),          inset -5px -24px 24px rgba(255, 206, 168, 0.6);box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.4),	 			 inset -5px -24px 24px rgba(255, 206, 168, 0.6);       /* Opera 10.5, IE 9.0 */filter: Shadow(Color=#000000,Direction=220,Strength=8);
Text ShadowCut out text.shadowed {  color: #CCCCCC;  text-shadow: 3px 3px 3px rgba(0,0,0,0.4);  color: rgba(255,255,255,1)}http://www.standardista.com/articles/text_shadow.html
Rotation-webkit-transform: rotate(90deg); -moz-transform: rotate(90deg); -o-transform: rotate(90deg);transform: rotate(90deg);filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=1);				1=90, 2=180, 3=270http://standardista.com/sandbox/rotation.html
Rotation-webkit-transform: rotate(90deg);-moz-transform: rotate(90deg); -o-transform: rotate(90deg);transform: rotate(90deg);filter:  progid:DXImageTransform.Microsoft.Matrix(sizingMethod='auto expand', M11=0.9961946980917455, M12=0.08715574274765817, M21=-0.08715574274765817, M22=0.9961946980917455);-ms-filter: "progid:DXImageTransform.Microsoft.Matrix(SizingMethod='auto expand', M11=0.9961946980917455, M12=0.08715574274765817, M21=-0.08715574274765817, M22=0.9961946980917455)";http://css3please.com/
Gradients.background-image:url(svgsprite.svg);/* because opera doesn't yet support gradients */   background-image: -moz-linear-gradient(-90deg, #FFCCCC, #E71616 50%, #D40009);   background-image: -webkit-gradient(linear, 0 top, 0 bottom,from(#FFCCCC), color-stop(50%, #E71616), 		to(#D40009));http://standardista.com/sandbox/opera_logo.html
Thanks.Estelle WeylTwitter: @estellevwBlog: http://www.standardista.comhttp://evotech.net/blog
PrizesTicket the FrontEndDesign ConferenceTicket to CSSSummit (online)Copy of my Book - Beginning iPhone Web Apps: HTML5, CSS3, and JavaScript for WebKithttp://apress.com/book/view/9781430230069

Open Web Camp: CSS3 Implementable Features

Editor's Notes

  • #3 History of support of CSS, and why it’s ok to move forward
  • #4 History of support of CSS, and why it’s ok to move forward
  • #5 Accessibilityv. ie6 looking ok
  • #6 Show twitter
  • #7 Show twitter
  • #9 standardista
  • #10 standardista