CSS | Opacity cross-browser | IE | FF | Chrome | Safari
|
Cara nak set Opacity di setiap element:
1. DEMO:
Test paragraph without opacity.
Test paragraph with opacity - Chrome | FF | Safari
Test paragraph with filter - IE
Test paragraph with -ms-filter - IE
2. HTML & CSS
.test {
background-color: #red;
width: 100%;
color: #ffffff;
}
.test2 { // for all other browsers
opacity: .5;
}
.test3 { // for IE5-7
filter: alpha(opacity=50);
}
.test4 { // for IE8
-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
}http://www.blogger.com/img/blank.gif
3. MORE INFORMATION CLICK HERE (W3School)
POSTED BY juong |
Popular Posts
-
Rumi Ke Jawi 1. Convert rumi ke jawi secara online. senang sekali! 2. Lepas covert, copy dan paste kat microsoft word, 3. dan pilih font ...
-
There are many options to change default icon of File Extension. For example we can uses FileTypesMan application, or using manual setting. ...
-
Sebelum download Arabic Dotted / titik-titik, Aracbic font perlu di install terlebih dahulu. Install arabic font di sini Kalau dah install, ...
-
Encoding JSON in PHP Some years ago, JSON support was provided through the json pecl extension. Since PHP 5.2, it is included in the core ...
-
In Windows 8, now that the Start Menu is now gone and replaced by the Start Screen and Charms bar. This means that if you want to restart yo...
-
Not set up a security code so that anyone trying to access your phone will need to code to get into it. Press the Nokia Menu key to the left...
-
maybe.
-
Mengetahui seseorang itu anak yang ke berapa dalam keluarga dengan menggunakan rumusan matematik. Sebagai contohnya: Dalam keluarga anda t...
-
Pelupusan Sampah dengan cara yang betul amat penting demi kesejahteraan alam ini. Kitar Semula merupakan salah satu cara untuk melupuskan sa...
-
Assalamualaikum, selamat bertandang ke blog juongjournal. Hari ni, 4.5.2011 aku nak kongsi doa qunut. semoga posting ni mendapat keberkatan ...
Post a Comment