Background

The setting field type Css Background

Arguments

Code example

@schema
{
	"name"		: "CSS Background",
	"author"	: "LayoutHub",
	"website"	: "https://www.LayoutHub.com"
}
@endschema


<div class="sample-demo" style="background: @attr(section.settings.my_bg); padding: 100px;">
	<h1>Sample Text</h1>
</div>

How it works

Last updated