$(function() { $(".me").css({ "display": "inline-block", "border": "1px solid #CC0000", "background-image": "linear-gradient(to top, #FF0000, #FF0000)", "background-color": "#CC0000", }); });