CSSUA enqueued in your Website
CSSUA enqueued in your Website
Description
This plugin enqueues the cssua.js into the website which then adds all the Browser, OS and Device related classes to the HTML tag.
You can use these classes to apply css, specific to Browser, OS or Device.
For Example: if you want the font-size of H1 tag to be smaller in Chrome Browser then you can do it in the following way.
.ua-chrome h1{ font-size: 20px; }
Learn more about cssua.js at http://cssuseragent.org/. Thanks to author for building such a powerful javascript library.
Installation
This section describes how to install the plugin and get it working.
- Upload the plugin files to the
/wp-content/plugins/cssuaewsdirectory, or install the plugin through the WordPress plugins screen directly. - Activate the plugin through the ‘Plugins’ screen in WordPress
- That’s it. Now open the front end of you website and check the HTML tag. It should now have all the Browser, OS and Device related classes added to it.
Reviews
Changelog
1.0
- Initial Release
- cssua.js – 2.1.31
