/ Published in: CSS
This is to make a vertical gray gradient with lighter on top and darker gray on bottom.
Microsoft filter syntax is: #AARRGGBB where RGB is known, and AA represents hexadecimal Alpha value (opacity).
Microsoft filter syntax is: #AARRGGBB where RGB is known, and AA represents hexadecimal Alpha value (opacity).
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
body{ background: -moz-linear-gradient(100% 100% 90deg, #e3e3e3, #f1f1f1); background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#f1f1f1), to(#e3e3e3)); filter: progid:DXImageTransform.Microsoft.gradient(enabled='true', startColorstr=#FFF1F1F1, endColorstr=#FFE3E3E3); }