Loading...

CSS透明度

Temperature: 0 °C

ChungChung
author_tools

CSS 透明度的實作, 各種瀏覽器和標準如下:(數字越小越透明)

標準: opacity:0~1 (Firefox 用此即可)
IE7: filter:alpha(opacity=0~100);
Mozilla 1.0~1.6: -moz-opacity: 0~1


透明度完整寫法


filter:alpa(opacity=80);   /* old IE */
filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=80,FinishOpacity=15, Style=3, StartX=0, FinishX=100, StartY=0,FinishY=16); /*supported by current IE*/
 -moz-opacity:0.7;          /* Moz + FF */
opacity:0.7;               /* 支持新版瀏覽器 */

https://innstory.com/story-CSS透明度-116
寫程式筆記

Prev
 用distinct在MySQL中查詢多條不重複記錄值

Next
愛因斯坦 

About the Author

Chung

我是chung
網路工作者
主業是網站系統開發建置
副業是做夢,寫故事
作品請參考/teme.biz
做夢請參考/innstory.com
聯絡/chung.teme@gmail.com

#有人用筆寫日記,有人用歲月寫日記,有人用照片寫日記,而我,用innstory寫日記。

Visitor message

Leave some footprints to prove that you visited me

Recommended reading

Author's other related stories

CSS Radio Button

CSS Radio Butt...

寫系統的時候三不五時總會用到Radio Button 和 Checkboxes 目前就在寫這個部份@...

定義404頁面

定義404頁面

什麼是頁面? HTTP 或Not Found錯誤訊息是HTTP的其中一種「標準回應訊息」(HTTP狀...

querySelectorAll對多個相同ID做統一處理

querySelectorA...

a 範例,想將同一組ID的DIV做統一隱藏的動作 var elms = document.query...

Please select an option

error

Hi, thank you for your participation, but you cannot vote repeatedly~

Join innstory now and start recording your story.

"Innstory" is a place to store stories. We are committed to becoming a warm platform. Deepening the bonds between people is our direction.
We are convinced that the blockchain between people is not just a cold calculation. Join us now.

Wrong format