Skip to content
CSS Head
CSS links, tutorials, code and demos for web designers and developers
    About Archives Contact Privacy and Cookies Policy Submit a Link Submit Community News
CSS Head
CSS links, tutorials, code and demos for web designers and developers
Home Submit a Link Contact About

Tag: inherit

Using RGBA to Prevent the CSS Opacity Inheritance from Parent to Child Elements

November 25, 2010

This new solution deals with RGBA CSS3 backgrounds for Mozilla FireFox, Google Chrome, Opera and Apple Safari and the Microsoft-proprietary DXImage gradient filters for Internet Explorer and may give you some new design ideas. Make sure you check the test page which I have created for this article…

csshead comment 0 Comments

CSS Opacity That Doesn’t Affect Child Elements

July 30, 2009

This is a quick tip to demonstrate a way to work around the problem of child elements in your HTML inheriting the “alpha” settings of their parent. This tip is not necessarily recommended, because it creates extra markup and is a little bit messy. But it could come in handy in a rare case, depending […]

csshead comment 0 Comments

Pure CSS opacity and how to have opaque children

July 4, 2009

Opacity is a desirable thing in this day and age; especially with the design trends that typified the web2.0 movement. Here are two different methods of achieving CSS opacity. One where the children inherit the opacity, the other where content can have its own opacity level…

csshead comment 0 Comments