HTML and CSS Reference
In-Depth Information
But what about browsers that don't support 2D transforms? Older browsers
like IE8 or Camino won't support rem units, gradients, transforms, or text shadow,
so what about them?
Modernizr won't help with rem units. The best way to deal with them is to
provide a pixel-size fallback next to the rem unit version of your property, as dis-
cussed in Chapter 1:
margin-top: 5px;
margin-top: 0.5rem;
Older browsers will just read the first one, whereas newer browsers that support
rem units will read both, but the latter line will override the former one.
For other CSS features, you'll need to include at least the following CSS:
.no-csstransforms #wrapper:hover #front,.no-csstransforms
p #wrapper:focus #front {
: ;
.no-cssgradients #front, .no-cssgradients #back {
: ;
.no-cssgradients #front p, .no-cssgradients #back p {
* y d e , t r t m
p to provide this */
: ;
Search WWH ::

Custom Search