How to make a diagonal gradient

M

moondaddy

How do I make a background gradient diagonal instead of just horizontal or
vertical?

This makes the standard horizontal gradient.

progid:dximagetransform.microsoft.gradient(gradienttype=1,
startcolorstr='blue', endcolorstr='whitesmoke',gradientType='2');

Thanks.
 
A

Alexey Smirnov

How do I make a background gradient diagonal instead of just horizontal or
vertical?

This makes the standard horizontal gradient.

progid:dximagetransform.microsoft.gradient(gradienttype=1,
startcolorstr='blue', endcolorstr='whitesmoke',gradientType='2');

FILTER:pROGID:DXIMAGETRANSFORM.MICROSOFT.GRADIENT(GRADIENTTYPE=1,
STARTCOLORSTR='#00B4CCE5', ENDCOLORSTR='#A0B4CCE5')
PROGID:DXIMAGETRANSFORM.MICROSOFT.GRADIENT(GRADIENTTYPE=0,
STARTCOLORSTR='#00B4CCE5', ENDCOLORSTR='#50B4CCE5' );
 
M

moondaddy

Thanks

Alexey Smirnov said:
FILTER:pROGID:DXIMAGETRANSFORM.MICROSOFT.GRADIENT(GRADIENTTYPE=1,
STARTCOLORSTR='#00B4CCE5', ENDCOLORSTR='#A0B4CCE5')
PROGID:DXIMAGETRANSFORM.MICROSOFT.GRADIENT(GRADIENTTYPE=0,
STARTCOLORSTR='#00B4CCE5', ENDCOLORSTR='#50B4CCE5' );
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top