Important Notice - Forums is archived
To simplify things and help our users to be more productive, we have archived the current forum and focus our efforts on helping developers on Stack Overflow. You can post new questions on Stack Overflow or join our Discord channel.

Vaadin lets you build secure, UX-first PWAs entirely in Java.
Free ebook & tutorial.
change the color of checkbox
Hello,
i have a question related to the checkbox on vaadin.
Can anyone tell me how to change the color of the checkbox?
The default color is white (shown in the attachment). But if i want to change it into blue, is it possible?
Thank you.
Hi,
Yes it is posssible
It is best to install firebug because it helps to know the names of classes he used Vaadin for change in your style.css
Thank you Hanane for your answer.
Yes.. i have firebug and i already tried.
But it still doen't work.
Could u please tell me what i should write on my style.css?
I tried this, but it didn't work:
.v-checkbox input {
background: green;
}
and the java code is
OptionGroup tuning = new OptionGroup();
tuning.setMultiSelect(true);
tuning.addItem(new Label("Tuning23"));
addComponent(tuning);