javascript-playgrounds
javascript-playgrounds copied to clipboard
[help wanted] how to use css options in parameters
very thanks for this awesome project, but I encounter some trouble when use it.
I use this project directly like below
const baseUrl = "//unpkg.com/javascript-playgrounds@^1.0.0/public/index.html";
const parameters = {
code: `${text}`,
css: `body {
font-size: 40px;
}`,
};
but I found that the font-size not work... the doc only show it is a string type, but not mentioned the format
so, could you provide more info about how to use it, very thanks! 😀