-
200810 Sep
Posted in News
This information was released today on the Working Group blog and there looks to be some major updates.
- The shorthand syntax for
border-radiushas been updated so that you can now specify different irregular curves on an element – this was a well-known abiguity that Peter pointed out in the former Working Draft. - Handy new background-position syntax for positioning offsets from corners other than the top left
- Spread values for box-shadow
- Box-shadows can now be inverted, to appear ‘inside’ an element thanks for the new
insetkeyword. - Addition to
background-colorvalue syntax which means fallback colours can be specified - Addition of
no-clipvalue forbackground-clip - Two additional
background-sizevalues (coverandcontain; they both scale the image whislt retaining its intrinsic aspect ratio. The difference however, is that by using thecoverkeyword value, the image scalesto the largest size such that both its width and its height can completely cover the background positioning area
to. Whereasscalescales the imageto the largest size such that both its width and its height can fit inside the background positioning area
. - New syntax for the
backgroundshorthand property
I’ll try and clarify some of these updates when I get some more time. All in all, some great new updates, though!
- The shorthand syntax for
-
200803 Sep
As you can’t have failed to notice, Google released their Chrome browser today. Chrome is based on the same version of Webkit as Safari 3.1 so should in theory have the same level of CSS support, although based on the very brief usage I’ve had of it so far it seems that text-shadow and @font-face aren’t working.
Update: I should add, of course, that this is still Beta software, and these issues may well be fixed before launch.
Anyone else noticed any missing features?
-
200814 Aug
While browsing TechCrunch this morning, I stumbled across the site for iPhone developers tap tap tap, who had published their sales figures for iPhone apps in the first month. While these were very interesting, what’s even more interesting is the absolutely fabulous way in which these guys are using
@font-face.If you check their stylesheet, you’ll see this:
/* A font by Jos Buivenga (exljbris) -> www.exljbris.nl */ @font-face { font-family: "Fertigo"; src: url(http://www.taptaptap.com/Fertigo.otf) format("opentype"); }
Which renders into great looking text like this (at least in my Safari):

Kudos to the tap tap tap people, and if you see more of these in the wild, be sure to let us know!
-
200814 Aug
Posted in Browsers, CSS3 Previews, Modules
Just a flying update, to provide some links of interest (with little-to-no comment):
- Firefox 3.1′s release date has been pushed back a little; I understand that, CSS-wise, Transforms and Web Fonts are the current blockers.
- John Resig takes a look at the implementation of border-image in FF 3.1 (with examples supplied by us)
- The CSS Marquee module has made it to Working Draft status. And now, with the rise of the mobile web and limited screen size, it actually has a practical implementation.
-
200824 Jul
A first Alpha of Mozilla’s new browser is due for release shortly (probably tomorrow). Firefox 3 saw a lot of work go into speed, stability and the interface, but was slightly disappointing for front-end developers and saw CSS implementation overtaken by Safari and Opera.
3.1 will make up for that with a whole raft of features on their way. Implemented in the current nightlies (and therefore, most likely, in the Alpha) are:
- All remaining Selectors
- Text Shadow
- Box Shadow
- Border Image
- Column Rule
Planned for implementation but not yet landed features include:
For the stat-hungry amongst us, 3.1 currently scores 84 on the Acid 3 test, and the implementation of Media Queries should take that up to 85.
There’s no indication of it, but I personally would like to see their border-radius syntax brought into line with the standard, and Transitions implemented to complement Transforms. I’ve been playing with Transitions recently, and they’re very cool.
What new CSS features would you like to see in Firefox 3.1?
-
200822 Jul
Posted in Modules
The CSS3 Colour module is one of the most implemented CSS3 modules. This was previously in the Candidate Recommendation stage, but has just recently been reverted to Last Call. While this sounds like a step backwards, it was done due to the specification being updated.
The new version of the CSS3 Colour Module has removed those features that were not widely implemented, such as the
flavorsystem colour and the@color-profileat-rule. These dropped features are now in a request for implementation, which basically means the W3C wants browser or user agent vendors to implement the features or they will not be included in the final recommendation. If this is the case, then they will either be dropped completely or moved to CSS Colour level 4. The last call lasts until the 1st of September. If you’d like to give comments then send them to the www-style mailing list. The CSS Snapshot 2007 is waiting for this spec to go to Candidate Recommendation before it moves from Working Draft to Candidate Recommendation itself.Now that the colour profile and
flavorfeatures have been removed, support is almost complete in three out of the four major browser engines. Firefox 3 supports the entire spec. Safari 3 has a bug with mixed values in RGB and RGBA, and does not support the thecurrentColorvalue, but the latest nightlies fixes both of these issues. Opera 9.5 does not support HSLA or RGBA, and doesn’t support thetransparentvalue in CSS3 context (such as on thecolorproperty), but these are supported in the ACID3 build of Opera, and will be included in version of Opera that will use Core-2.2.
-
200803 Jul
Posted in News
The beauty about working on a site that is specifically targeted for one the most popular mobile devices around (aka the iPhone) is that the vendor with the least CSS support (*cough* IE *cough*) doesn’t exist on it (purely because of its inadequate CSS support in this case).
Depending on the browser matrix you have to work with and the platforms you’re coding for, utilizing Level 3 (and some Level 2.1 in IE’s case) selectors simply isn’t realistic, although properties on the other hand can be used to progressively enhance an elements appearance in this particular context.
But what if a site was created to serve one specific handheld device in which Safari (along with its sufficient CSS3 support) was the default browser? Well, this is what Facebook has done with it’s iPhone-specifc UI. By peaking into their stylesheet you’ll notice that they’re implementing a number of Level 3 selectors, properties and property value additions. They include the:-
- User-select property (Webkit prefix)
- Negation Pseudo-class Selector
- RGBA color values (in conjunction with ‘background-color’ and ‘text-shadow’ properties
- Text Overflow property
- Box-sizing property (including Mozilla and Webkit prefixes)
- Border-image property (Webkit prefix)
- Text-shadow property
- Border-radius property
- Multiple Backgrounds
- Opacity
For comedy value, try viewing the site in IE.
Having this sort of free reign on selectors and properties is an interface developers dream in this day and age, and hopefully in a couple of years we’ll be able to structure a stylesheet with some similarly advanced features.
-
200826 Jun
Posted in News
This is just a quick note, to inform CSS3.info readers that the release candidate for Opera Dragonfly alpha 2 has just been released. Check out the Opera Dragonfly web site for download instructions, and the Opera Dragonfly Blog for more information on the release. There will be a short RC phase then alpha 2 will be uploaded to the main Opera Dragonfly URL that is built into Opera 9.5, and existing alpha 1 users will be upgraded automatically. The web site will also be updated to highlight the new features.
One feature of note for readers of this blog is the auto-complete feature for CSS properties and values in the Styles sidebar. Using the up and down arrows will cycle through the valid properties that Opera supports. This (in theory) will give a good indication of all the CSS3 properties that Opera 9.5 (and subsequent versions) has implemented. As CSS editing is live and immediate, it is a great way to test new features and play with the values.
Please give feedback on Opera Dragonfly alpha 2 using the usual channels.
-
200823 Jun
Posted in Proposals
Dave Hyatt informs us that the latest Webkit nightlies now support an experimental implementation of CSS Variables.
The news comes only days after Daniel announced on his blog that he and Dave were in the process of finalizing a new version of the spec based on both feedback from readers and the Webkit implementation.
Nightlies can be downloaded from here and they’ve also provided a fair few test cases.
NOTE: Since mid-September, the Webkit implementation was discontinued for the time being.
-
200815 Jun
Firefox 3 isn’t quite out yet, but already there are some exciting plans for CSS implementation in future versions.
FF3.1 should see all the selectors (test them here), @media queries, text-shadow, font-stretch, and downloadable web fonts with @font-face; FF4 should add calc() and attr() values, along with the Animation and Transitions modules proposed by the Webkit team.
You can see a list of other planned implementations on the Mozilla Wiki.
