Title: CSS3 Transitions
Author: Nick Halsey
Published: <strong>2013 年 1 月 1 日</strong>
Last modified: 2017 年 11 月 11 日

---

搜尋外掛

這個外掛**並未在最新的 3 個 WordPress 主要版本上進行測試**。開發者可能不再對這個
外掛進行維護或提供技術支援，並可能會與更新版本的 WordPress 產生使用上的相容性問題。

![](https://ps.w.org/css3-transitions/assets/icon.svg?rev=1055205)

# CSS3 Transitions

 由 [Nick Halsey](https://profiles.wordpress.org/celloexpressions/) 開發

[下載](https://downloads.wordpress.org/plugin/css3-transitions.1.3.zip)

 * [詳細資料](https://tw.wordpress.org/plugins/css3-transitions/#description)
 * [使用者評論](https://tw.wordpress.org/plugins/css3-transitions/#reviews)
 *  [安裝方式](https://tw.wordpress.org/plugins/css3-transitions/#installation)
 * [開發資訊](https://tw.wordpress.org/plugins/css3-transitions/#developers)

 [技術支援](https://wordpress.org/support/plugin/css3-transitions/)

## 外掛說明

This plugin automatically adds CSS3 transitions to your website/blog and the WordPress
admin. Links, etc. get animated transitions between their normal and hover states.
CSS3 Transitions are supported by the most recent version of every major browser(
Chrome, Internet Explorer 10, Firefox, Opera, Safari); browsers without support 
will continue to render everything as they had before. This plugin adds the transitions(
eye candy) to all `<a>` (link), `<li>` (list item, usually used in navigation menus),`
<img>` (image), and `<input>` (form field and button) tags that have a hover or 
focus state defined (for example, if links change color when the mouse hovers over
them). Other “buttons”, form elements, and WordPress-specific selectors are also
targeted. Transitions are between .2 and .3 seconds in duration, so they shouldn’t
cross the line between nice and distracting; however, depending on the colors used
in your theme, the transitions may not be noticeable.

Also, please note that image sprites simply don’t work well with blanket css3 transitions.
If you see wierd animations where images scroll between their normal and hover states,
they’re using sprites. Depending on where the sprites are used, there are various
ways to prevent the behavior on those elements, while retaining transitions where
desired. One method is to add an inline style attribute to those elements: `style
="transition: none; -webkit-transition: none;"`. Adding the css to your theme will
override the plugin’s css as long as you target the elements using sprites by class
or id.

Please feel free to offer any feature suggestions you might have and I will consider
them for future releases.

#### CSS3 Transitions UX Theory

Because of the way our brains process images, in simple terms, instant/sudden changes
are generally not as well perceived as more gradual ones. In the physical space,
we never see instant changes, like slides changing with no animation in a PowerPoint,
but with digital technology this is a very common practice. When websites make use
of hover states, for example, if a link changes color when the mouse hovers over
it, they exhibit small, but instant visual changes. Adding the css3 transitions 
makes these changes more gradual, and therefore easier on the eye. For this same
reason, operating systems now tend to make use of a lot of animations. There’s a
lot of neuroscience behind these concepts, but I’m not well versed in that. Basically,
_slight_ animations generally look better than instant changes. Some people will
argue that things aren’t as “snappy” or seem slugish with transitions, but if that’s
the case, it’s only a matter of adjusting the animation timing function and duration.

## 安裝方式

 1. Take the easy route and install through the WordPress plugin adder OR
 2. Download the .zip file and upload the unzipped folder to the `/wp-content/plugins/`
    directory
 3. Activate the plugin through the ‘Plugins’ menu in WordPress
 4. CSS3 transitions should automatically be added to your site and WordPress, as long
    as your theme has the `<?php wp_head() ?>` action hook

## 常見問題集

  Installation Instructions

 1. Take the easy route and install through the WordPress plugin adder OR
 2. Download the .zip file and upload the unzipped folder to the `/wp-content/plugins/`
    directory
 3. Activate the plugin through the ‘Plugins’ menu in WordPress
 4. CSS3 transitions should automatically be added to your site and WordPress, as long
    as your theme has the `<?php wp_head() ?>` action hook

  The Transitions Aren’t Working…

First, make sure you know what the transitions look like (and you need to be using
a mouse, not touch, for the majority of them, although they will show up for things
that have css changes because of javascript too). Then, make sure that you are using
a supported browser (Chrome, Internet Explorer 10+, Firefox 16+, Opera 12+, Safari
4+). Next, make sure that your theme’s links have a different color or other effects
when you mouse over them. This is the change that will be animated. Then, make sure
that your theme’s `header.php` file contains the `<?php wp_head() ?>` action hook.
If none of that works, it’s likely that your theme doesn’t support transitions or
has explicitly blocked them. However, you should still get the effects in the WordPress
admin area if your browser supports them.

  Where’s the settings page?

For simplicity’s sake, no settings page is included. While there are a few potential
options, I don’t feel that they would be worth the extra bloat of a settings page.
If you would like to make adjustments (such as changing the animation duration),
you may do so by editing the plugin’s php file.

## 使用者評論

![](https://secure.gravatar.com/avatar/8ac685e8921cd7f33441b7099600fbe6cc87013ca810162ae2415a8a686bf8bb?
s=60&d=retro&r=g)

### 󠀁[It actually works](https://wordpress.org/support/topic/it-actually-works-5/)󠁿

 [faospark](https://profiles.wordpress.org/faospark/) 2017 年 2 月 10 日

I was looking for something that adds effects on the dashboard. You know a little
something to make the ancient ui of wp pop out a little bit and this got the job
done. Straight forward no fancy set up involved

 [ 閱讀全部 4 則使用者評論 ](https://wordpress.org/support/plugin/css3-transitions/reviews/)

## 參與者及開發者

以下人員參與了開源軟體〈CSS3 Transitions〉的開發相關工作。

參與者

 *   [ Nick Halsey ](https://profiles.wordpress.org/celloexpressions/)

[將〈CSS3 Transitions〉外掛本地化為台灣繁體中文版](https://translate.wordpress.org/projects/wp-plugins/css3-transitions)

### 對開發相關資訊感興趣？

任何人均可[瀏覽程式碼](https://plugins.trac.wordpress.org/browser/css3-transitions/)、
查看 [SVN 存放庫](https://plugins.svn.wordpress.org/css3-transitions/)，或透過 [RSS](https://plugins.trac.wordpress.org/log/css3-transitions/?limit=100&mode=stop_on_copy&format=rss)
訂閱[開發記錄](https://plugins.trac.wordpress.org/log/css3-transitions/)。

## 變更記錄

#### 1.3

 * Introduce improved animation timing function (cubic-bezier(0.64,0.20,0.02,0.35))
 * Remove -moz-, -ms-, and -o- browser prefixes. -webkit- is still required for 
   Safari and older Android, but all other major browsers now support unprefixed
   transitions.
 * Make the transitions faster
 * Tested with WordPress 3.6 and the Twenty Thirteen theme

#### 1.2

 * Fixed a bug where transitions were being applied to the WordPress 3.5 color picker
 * Fixed a bug where transitions were being applied to the WordPress nav menu editor
   drag-and-drop

#### 1.1

 * Fixed bug that made managing menus in the admin almost unusable because of unneeded
   transitions.
 * Added targeting for several more elements, mostly form-related
 * Updated readme

#### 1.0

 * First publically available version of the plugin
 * Tested with WordPress 3.4 and 3.5. Should be compatible with most versions of
   WordPress

## 中繼資料

 *  版本 **1.3**
 *  最後更新 **9 年前**
 *  啟用安裝數 **100+**
 *  WordPress 版本需求 ** 3.0 或更新版本 **
 *  已測試相容的 WordPress 版本 **4.9.29**
 *  語言
 * [English (US)](https://wordpress.org/plugins/css3-transitions/)
 * 標籤:
 * [CSS3](https://tw.wordpress.org/plugins/tags/css3/)[effects](https://tw.wordpress.org/plugins/tags/effects/)
   [eye candy](https://tw.wordpress.org/plugins/tags/eye-candy/)[transitions](https://tw.wordpress.org/plugins/tags/transitions/)
   [ui](https://tw.wordpress.org/plugins/tags/ui/)
 *  [進階檢視](https://tw.wordpress.org/plugins/css3-transitions/advanced/)

## 評分

 4 星，滿分為 5 星

 *  [  3 個 5 星使用者評論     ](https://wordpress.org/support/plugin/css3-transitions/reviews/?filter=5)
 *  [  0 個 4 星使用者評論     ](https://wordpress.org/support/plugin/css3-transitions/reviews/?filter=4)
 *  [  0 個 3 星使用者評論     ](https://wordpress.org/support/plugin/css3-transitions/reviews/?filter=3)
 *  [  0 個 2 星使用者評論     ](https://wordpress.org/support/plugin/css3-transitions/reviews/?filter=2)
 *  [  1 個 1 星使用者評論     ](https://wordpress.org/support/plugin/css3-transitions/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/css3-transitions/reviews/#new-post)

[查看全部使用者評論](https://wordpress.org/support/plugin/css3-transitions/reviews/)

## 參與者

 *   [ Nick Halsey ](https://profiles.wordpress.org/celloexpressions/)

## 技術支援

使用者可在技術支援論壇提出意見反應或使用問題。

 [檢視技術支援論壇](https://wordpress.org/support/plugin/css3-transitions/)