User-Agent Specific CSS Classes with CssUserAgent

By

January 5, 2011MIT License ToolsNo comments

CssUserAgent allows you to applies User-Agent specific CSS classes to the tag to allow browser-specific CSS variation without resorting to CSS hacks. Since these are performed once at startup, CSS may be statically defined without the need to mix browser-specific logic into the presentation.

Multiple classes are created for each user-agent, allowing the web developer to target browser classes on differing levels of granularity. The general pattern is browser name followed by version number of varying precision.

cssuseragent

Requirements: Javascript enabled
Demo: http://cssuseragent.org/
License: MIT License

Leave a Reply