I am currently working on a website using HTML5 and CSS3, but I also need it to be compatible with older browsers. Although I am using the Modernizr library, it does not allow me to replace certain CSS3 elements with CSS2 alternatives.
For example, I have a div that utilizes border-radius and box-shadow. In case CSS3 is not supported, I aim to serve an alternative style featuring a background image incorporating rounded corners and faded borders.
Perhaps I could try adding an extension to the class name:
CSS3 Class - .mainContent CSS2 Class - .mainContentFlat