Search code examples
cssdropshadow

Is there any online tool to generate cross platform (including IE6) box shadows?


I want to generate drop shadows. But it is difficult to generate cross platform shadows. Is there any online tool to generate cross platform (including IE6) box shadows?

That is I want to generate following codes automatically

/* For IE 8 */
        -ms-filter: "progid:DXImageTransform.Microsoft.Shadow(Strength=4, Direction=135, Color='#000000')";
        /* For IE 5.5 - 7 */
        filter: progid:DXImageTransform.Microsoft.Shadow(Strength=4, Direction=135, Color='#000000');

Solution

  • this is not the easiest task. You could try this nice generator for crossbrowser css3 and for IE try this nice Framework.

    CSS Pie makes use of Internet-Explorers Capability to enhance CSS dynamically via .htc files and their proprietary VML-Format to emulate css3. It's pretty easy to setup and works quite nicely.

    Some css3 stuff also can be achieved via MS-filters.