-
201214 May
Posted in CSS3 Previews, Site Updates
The CSS3 Selectors module introduces three new attribute selectors, which are grouped together under the heading “Substring Matching Attribute Selectors”.
These new selectors are as follows:
[att^=val]
– the “begins with” selector
[att$=val]
– the “ends with” selector
[att*=val]
– the “contains” selectorRead the complete updated article in our CSS3 Preview section ยป
-
201221 Mar
Posted in CSS3 Previews, Site Updates
CSS3 Transitions are a presentational effect which allow property changes in CSS values, such as those that may be defined to occur on
:hover
or:focus
, to occur smoothly over a specified duration – rather than happening instantaneously as is the normal behaviour.Transition effects can be applied to a wide variety of CSS properties, including
background-color
,width
,height
,opacity
, and many more. Keep reading for further details of supported properties.
-
201105 Sep
Posted in CSS3 Previews, Site Updates
Another new property introduced by the CSS3 Backgrounds and Borders module is
background-size
. The property adds new functionality to CSS allowing designers to specify the size of background images using either lengths, percentages, or by using one of two keywords;contain
orcover
.Browser support has grown of late, with the current versions of most popular browsers now supporting
background-size
, including Firefox, Safari, Chrome, Internet Explorer and Opera, without the need for vendor prefixes.
-
201109 May
Posted in CSS3 Previews
CSS3 allows web designers to specify multiple background images for box elements, using nothing more than a simple comma-separated list.
Browser support for multiple backgrounds is now relatively widespread with Mozilla Firefox (3.6+), Safari/Chrome (1.0/1.3+), Opera (10.5+) and even Internet Explorer (9.0+) all implementing the feature.
-
201025 Aug
CSS3 Rocksby Chris
Posted in CSS3 Previews, CSS3 Resources, News
Google have recently updated their HTML5ROCKS site, originally launched in June this year, with numerous new demos and tutorials for HTML5 and CSS3. The latest update adds, amongst other articles, a tutorial for CSS3 Web Fonts (with @font-face) and a new ‘HTML5 Studio’ – offering a number of live demos for many of the new possibilities offered by HTML5 and CSS3.
Since being updated the site has been causing quite a stir online and if you’ve not come across the site before, it’s an excellent resource for getting to grips with HTML5 & CSS3 and certainly worth a visit.
-
201011 Aug
Posted in CSS3 Previews, Site Updates
The border-radius page in our CSS3 Preview section has been updated to reflect the latest version of the Backgrounds & Borders specification and the latest browser support.
The page now offers a more comprehensive and easy to follow guide/tutorial, including cross-browser examples, which should enable any designer (whether novice or expert) to get to grips with border-radius in a matter of minutes.
-
201024 Feb
Posted in CSS3 Previews, News
Benjamin Meyer has been busy creating Anigma, an online game designed to showcase some of the functionality in CSS3, particularly CSS3 Transitions and Animations.
-
200908 Oct
Posted in CSS3 Previews, Modules
One aspect of CSS3 that hasn’t received a lot of attention so far is the Flexible Box Layout module. Already implemented in the Gecko and WebKit engines, in this alternative box model:
“… the children of a box are laid out either horizontally or vertically, and unused space can be assigned to a particular child or distributed among the children by assignment of ‘flex’ to the children that should expand.”
It’s probably easier if I show you how this works. NB: you’ll need to be using Firefox, Safari or Chrome (or a variant thereof) to see the demos; and if you’re reading this in a feed reader, you’ll need to visit the original post to see them.
-
200926 Aug
Posted in Browsers, CSS3 Previews
As well as all the new CSS features we mentioned previously, Firefox 3.6* is gaining a brand new property value: image-rect. This allows you to clip an area of a background image to display only part of the whole.
It uses Mozilla’s proprietary prefix, and takes two values: a URI for the image, and the boundaries of the clipped area (as four comma separated values, like the clip property):
-
200920 Jul
Posted in Browsers, CSS3 Previews, News
Simon Fraser announces support for CSS 3D Transforms, on Mac OSX Leopard, in the latest Webkit nightlies.