Workspace Background Custom Image

26 views
Skip to first unread message

Srinivasaraghavan S

unread,
Nov 19, 2021, 4:43:17 AM11/19/21
to Blockly
Hi Team,
Is there a way to set a custom image as a background for blockly workspace?

Thanks,
Srini

Aaron Dodson

unread,
Nov 22, 2021, 11:48:10 AM11/22/21
to Blockly
Hi,

You should be able to add a rule like this to your CSS:

.blocklySvg {
background-image: url('https://urlofyourimagegoeshere');
}

- Aaron

Reply all
Reply to author
Forward
0 new messages