D future ...
aberba via Digitalmars-d
digitalmars-d at puremagic.com
Fri Dec 30 03:32:50 PST 2016
On Friday, 30 December 2016 at 06:22:40 UTC, bauss wrote:
> [...]
Yeah. I meant a subset. But widgets will not follow the DOM query
syntax, it should use class attributes.
.button {
border-color: red;
}
.container {
...
}
auto btn = new Button();
btn.addClass("button");
btn.addStyleFromFile("style.css");
...
container = new ...
container.addStyleFromSource(".container {…}");
More information about the Digitalmars-d
mailing list