forum share
   textsms      forum    

Articole/intrebari

INDEX \ Articole/intrebari \ CSS3 opacity Property

CSS3 opacity Property

text_format+  text_format-


CSS Syntax

opacity: number|initial|inherit;


Set the opacity level for a div element:

div {
    opacity: 0.5;
}


JavaScript

function myFunction(x) {
// Return the text of the selected option
    var opacity = x.options[x.selectedIndex].text;
    var el = document.getElementById("p1");
    if (el.style.opacity !== undefined) {
        el.style.opacity = opacity;
    } else {
        alert("Your browser doesn't support this.");
    }
}






update Ultima actualizare: 03/02/2017
done Informatiile cuprinse in aceasta sectiune sunt verificate si actualizate periodic.

list Articole recente
arrow_back Inapoi


© 2023 EVIDWEB. Toate drepturile rezervate. Design: EVIDWEB

share  forum  textsms