Zoomart Design - Web Agency Napoli
CSS3 Opacity
14 agosto 2010Opacity rappresenta una delle funzioni CSS3 maggiormente implementate.
Ecco un esempio:
Ed il CSS utilizzato nel primo caso è:
background: rgb(255, 0, 0) ; opacity: 0.2;
background: rgb(255, 0, 0) ; opacity: 0.4;
background: rgb(255, 0, 0) ; opacity: 0.6;
background: rgb(255, 0, 0) ; opacity: 0.8;
background: rgb(255, 0, 0) ; opacity: 1;
background: rgb(255, 0, 0) ; opacity: 0.4;
background: rgb(255, 0, 0) ; opacity: 0.6;
background: rgb(255, 0, 0) ; opacity: 0.8;
background: rgb(255, 0, 0) ; opacity: 1;
Mentre nel secondo caso lo stesso risultato è ottenuto con valori RGB:
background-color: rgb(243,191,189);
background-color: rgb(246,143,142);
background-color: rgb(249,95,94);
background-color: rgb(252,47,47);
background-color: rgb(255,0,0);
background-color: rgb(246,143,142);
background-color: rgb(249,95,94);
background-color: rgb(252,47,47);
background-color: rgb(255,0,0);
Altri articoli che ti potrebbero interessare:
Zoomart in "The Digital Agenda" pubblicato dalla Luxury Society
Zoomart su Awwwards
Zoomart torna su Awwwards

