[wordpress插件] Browser Specific CSS浏览器特定的CSS

wordpress 插件 文章 2020-03-11 22:00 493 0 全屏看文

AI助手支持GPT4.0

评分
100
描述

The Browser Specific CSS plugin is a tool that allows developers to easily target different browsers straight from the stylesheet.

Browser Specific CSS插件是一个工具,开发人员可以直接从样式表轻松定位不同的浏览器。

Browser Specific CSS adds a short javascript to the head of your page that enables you to use browser specific css selectors.

浏览器特定的CSS在页面顶部添加了一个简短的javascript,使您可以使用浏览器特定的css选择器。

For example, targeting Internet Explorer 7 from your stylesheet is just a matter of defining styles with a “.ie7” selector.

例如,从样式表中定向Internet Explorer 7只是使用“ .ie7”选择器定义样式的问题。

Every major browser is supported including code for targeting Macs, PCs, and Linux operating systems.

支持所有主流浏览器,包括针对Mac,PC和Linux操作系统的代码。

This plugin uses the javascript written by Rafael Lima.

此插件使用 Rafael Lima 编写的JavaScript。

No changes have been made to his code, and all the credit goes to him.

他的代码未做任何更改,所有功劳归于他。

Thanks, Rafael!

谢谢,拉斐尔!

Changelog:

变更日志:

Version 0.3

版本0.3

– Update for compatibility with WordPress 2.9

–更新与WordPress 2.9的兼容性

Version 0.2

0.2版

– Corrected readme file.

–已纠正的自述文件。

Version 0.1

0.1版

– Features of the first version of this plugin include the ability to turn the plugin on and off and to specify a separate stylesheet.

–该插件第一版的功能包括打开和关闭插件以及指定单独的样式表的功能。

安装步骤

Installing Browser Specific CSS is very easy and do not require any template modification in most cases.

安装特定于浏览器的CSS非常容易,并且在大多数情况下不需要任何模板修改。

Just follow these steps:

只需执行以下步骤:

    1. Upload the folder ‘browser_specific_css’ to the ‘/wp-content/plugins/’ directory.
    2. 将文件夹“ browser_specific_css”上传到“ / wp-content / plugins /”目录。

    3. Activate the plugin through the ‘Plugins’ menu in WordPress.
    4. 通过WordPress中的“插件”菜单激活插件。

    5. Under “settings” you will see a “Browser Specific CSS” link that you can click on to access the Browser Specific CSS Plugin settings.

    6. 在“设置”下,您将看到“浏览器特定CSS”链接,您可以单击该链接来访问“浏览器特定CSS插件”设置。

      This screen will give you a list of browser specific css selectors that you can begin to use in your stylesheet(s)

    7. 此屏幕将为您提供特定于浏览器的CSS选择器的列表,您可以开始在样式表中使用这些选择器

下载地址
https://downloads.wordpress.org/plugin/browser-specific-css.zip
-EOF-

AI助手支持GPT4.0