Plugin is used to add browser name and OS name in body tag class
Author: | Aftab Muni (profile at wordpress.org) |
WordPress version required: | 3.2 |
WordPress version tested: | 5.9 |
Plugin version: | 1.2 |
Added to WordPress repository: | 15-12-2015 |
Last updated: | 30-01-2022
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
|
Rating, %: | 100 |
Rated by: | 3 |
Plugin URI: | https://aftabmuni.wordpress.com/ |
Total downloads: | 2 541 |
Active installs: | 100+ |
Click to start download |
This plugin is used to add browser name and OS name in body tag class attribute
For e.g:
<body class=”…. browser-firefox os-windows”>
<body class=”…. browser-chrome os-apple”>
<body class=”…. browser-safari os-iphone”>
<body class=”…. browser-chrome os-android”>
This can help in creating responsive websites when website on some device is causing issues but in some device website is working perfectly. So we can use this in CSS as:
.browser-firefox.os-windows{
//Your CSS
}
and for same browser and other OS
.browser-firefox.os-apple{
//Your CSS
}