Browser-specific CSS With CssUserAgent

CssUserAgent help Us to apply special CSS classes to your pages allowing you to use valid CSS to work around browser-specific quirks. Since these are performed once at startup, CSS may be statically defined without the need to mix browser-specific logic into the presentation.

css user agent Browser specific CSS With CssUserAgent

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:

* ua-browsername
* ua-browsername-major
* ua-browsername-major-minor
* ua-browsername-major-minor-build
* ua-browsername-major-minor-build-revision

This is all done with CSS since cssua.js has prepped the HTML tag with special CSS classes which allow you to target browsers with varying degrees of precision.

Requirements: -
Demo: http://cssuseragent.org/test/demo.html
License: MIT License, GPL License

Incoming search terms for the article:

Related Posts

How To Create A Basic Social Sharing Button

Add Clippy.js To Your Website For Instant MSWord Nostalgia

Colorize Your Source Code With Sunlight

Convert PSD Files to HTML and CSS with PSDSlicing