/ Published in: CSS
This snippet is something that will allow textmate to auto-fill the necessary fields for a gradient fill background.
Expand |
Embed | Plain Text
/* fallback (Opera) */ background: ${1}; /* Mozilla: */ background: -moz-linear-gradient(top, $1, $2); /* Chrome, Safari:*/ background: -webkit-gradient(linear, left top, left bottom, from(${1}), to(${2})); /* MSIE */ filter: progid:DXImageTransform.Microsoft.Gradient(StartColorStr='${1}', EndColorStr='${2}', GradientType=0);
You need to login to post a comment.
