开发者 |
optimocha
barisunver |
---|---|
更新时间 | 2019年6月27日 05:25 |
PHP版本: | 5.6 及以上 |
WordPress版本: | 5.2.2 |
版权: | GPLv3 or later |
版权网址: | 版权信息 |
mix-blend-mode
to darken your styles. Useful for many websites and many eyeballs.
This plugin is developed using DarkMode.js by Sandoche Adittane. If you like the plugin, be sure to donate him! (PS: We're not affiliated with Sandoche in any way.)
How to Use
Activating the plugin will activate the button. If you want to exclude some buttons or your logo or stuff like that, you can use the following CSS code (add it into your Customizer's Add CSS section):
.button {
isolation: isolate;
}
With the CSS code avove, the button
class is ignored by the dark mode. Also, you can add the darkmode-ignore
class to anything in order to achieve the same thing, but using custom CSS is more managable.
Todo List
/wp-content/plugins/
directory, or install the plugin through the WordPress plugins screen directly.Nope. It just adds a dark mode to your theme.
It uses a modern CSS feature called "mix-blend-mode", and doesn't work on Interneet Explorer, Edge (pre-Chromium versions) and Opera Mini. Check out caniuse.com for how well this feature is covered in different browsers.