Archive for CSS

You are browsing the archives of CSS.

Using CSS to Makes Transparent Element in Mozilla

Using CSS to Makes Transparent Element in Mozilla

Let us play with Mozilla’s CSS again. Now we will try to make a cool transparent element with -moz-opacity property. This property is also available in CSS3 specification with the name opacity. Using this property, you can control how solid your element is. The value is ranged from 0 (full-transparent) to 1 (solid). So, 0.5 [...]

Changing The Style of Highlighted Text in Mozilla

There are several interesting style on Mozilla’s specific CSS. One of the most interesting trick is changing the style of the text when user highlighted the text using -moz-selection property. Look the sample of code below: