如何改進CSS讓背景透明? - 部落格

By Enid
at 2013-01-10T20:16
at 2013-01-10T20:16
Table of Contents
我在近開了網站
增新CSS 只想讓"文章背景"(Post+Sidebar的背景)透明化
EX ╔══╦══════╗
║Sid ║ Post ║
║ebar║ ║
~~~║~~~~║~~~~~~~~~~~~║~~~~~~~~~~
~~~║~~~~║~~~~~~~~~~~~║~~~~~~~~~~
~~~║~~~~║~~~~~~~~~~~~║~~~~~~~~~~
║ ║ ║
~~~║~~~~║~~~~~~~~~~~~║~~~~~~~~~~
║ ║ ║
╚══╩══════╝
讓文章能看到底圖
但是文章的圖片跟文字也會跟的透明
沒學過CSS 從網路學的 如下
.main {
filter:alpha(opacity=15);
-moz-opacity:0.85;
opacity:0.85;
}
請問要如何改進呢?
--
增新CSS 只想讓"文章背景"(Post+Sidebar的背景)透明化
EX ╔══╦══════╗
║Sid ║ Post ║
║ebar║ ║
~~~║~~~~║~~~~~~~~~~~~║~~~~~~~~~~
~~~║~~~~║~~~~~~~~~~~~║~~~~~~~~~~
~~~║~~~~║~~~~~~~~~~~~║~~~~~~~~~~
║ ║ ║
~~~║~~~~║~~~~~~~~~~~~║~~~~~~~~~~
║ ║ ║
╚══╩══════╝
讓文章能看到底圖
但是文章的圖片跟文字也會跟的透明
沒學過CSS 從網路學的 如下
.main {
filter:alpha(opacity=15);
-moz-opacity:0.85;
opacity:0.85;
}
請問要如何改進呢?
--
Tags:
部落格
All Comments
Related Posts
固定連結Notfound

By Joseph
at 2013-01-08T12:57
at 2013-01-08T12:57
想要有這樣的選項

By Bennie
at 2013-01-08T11:49
at 2013-01-08T11:49
請問這種風格

By Robert
at 2013-01-05T11:39
at 2013-01-05T11:39
有一天po文無上限的部落格嗎

By Anonymous
at 2013-01-04T23:00
at 2013-01-04T23:00
修改網誌版式後的問題

By Joseph
at 2013-01-02T23:16
at 2013-01-02T23:16