花美男为中国互联网事业而奋斗

How do I combine a background-image and CSS3 gradient on the

来源:未知 阅读(0)次 评论(0)

Multiple backgrounds!

body {
  background: #eb01a5;
  background-image: url("IMAGE_URL"); /* fallback */
  background-image: url("IMAGE_URL"), linear-gradient(#eb01a5, #d13531); /* W3C */}

E

.input-date{
  background-image: url(../images/icon-date.png),
                    -webkit-gradient(linear, 0 0, 0 bottom, from(#fff), to(#f8f8f8));
}


image.png


From

标签:
上一篇:Change an HTML5 input's placeholder color with CSS 下一篇:没有了

相关推荐