Wednesday, August 7, 2013

My Bookmarks - Part I: CSS

Following are references to some of the sites/ posts which I came across while developing websites.

**Credit to the respective post/ blog owners **


Cross-Browser CSS Gradient
This concise CSS class can make your DIV or any other HTML control appearing with gradient background without really needing any image.

.gradientBackground
{
background: #999; /* for non-css3 browsers */
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#cccccc', endColorstr='#000000'); /* for IE */
background: -webkit-gradient(linear, left top, left bottom, from(#ccc), to(#000)); /* for webkit browsers */
background: -moz-linear-gradient(top,  #ccc,  #000); /* for firefox 3.6+ */
}
Complete reference to post: http://webdesignerwall.com/tutorials/cross-browser-css-gradient
A cool website to get color code to use them while setting gradients: http://tools.dynamicdrive.com/gradient/

No comments:

Post a Comment

Thanks for visiting my blog.
However, if this helped you in any way, please take a moment to write a comment.

Thanks
Nirman