2
我想要一个背景图片添加到我的网站,我reskinning各个部分..背景图片放大
问题是,背景图像在缩小。
见下文。
只是创建一个新的CSS分区更好更快..有人可以请建议的语法?
// Sections backgrounds
var pageSection = $(".home-section, .page-section, .small-section, .split-section");
pageSection.each(function(indx){
if ($(this).attr("data-background")){
$(this).css("background-image", "url(" + $(this).data("background") + ")");
}
});