Welcome to WebmasterWorld Guest from

Forum Moderators: not2easy

Message Too Old, No Replies

Issue with CSS3 and background images



12:08 pm on Mar 8, 2014 (gmt 0)

WebmasterWorld Senior Member 5+ Year Member

I have code to place icons like:
.error {
background: #EE4366 url(images/erroricon1.gif) no-repeat 28px 28px !important ;
border-color: #E83D88;

When I place background: there is an issue that background-image: -webkit-gradient will not work. How to do in the correct way to publish gradient controls and icon will be seen?

Issue: #EE4366 will be priority and see as #EE4366 but gradient control will be lost.

Is it possible background-image and also background?


3:14 pm on Mar 11, 2014 (gmt 0)

use only
background-repeat: no-repeat;
background-size:28px 28px;

and after use gradient background

Featured Threads

Hot Threads This Week

Hot Threads This Month