The CSS:
[sourcecode language=”css”]
.acidjs-cssw-select-icons option::before
{
content: "";
display: inline-block;
vertical-align: middle;
margin: 2px 6px 2px 2px;
width: 16px;
height: 16px;
background: url("path/to/the/icon.png") no-repeat center;
}
[/sourcecode]
The demo and the download link are on this page. If you are interested in more CSS3, HTML5 WebComponents and JavaScript stuff, make sure you check my experiments website.
© 2006 - 2023 Martin Ivanov