make Panel backgroundcolor transparent

i try to make a panel transparent with CSS but it doesnt work!!
any ideas

panel.addStyleName(“transparentPanel”);

.transparentPanel {
background : transparent;
}

or

.transparentPanel {
background-color : transparent;
}

both way dont work :frowning:
i need help

sry for my bad english

It is proably because the Vaadin theme has a more specific CSS selector than yours and in CSS the more specific one always overrides the less specific one.

Try

.transparentPanel .v-panel-content > div {
background : transparent;
}

or alternatively

panel.addStyleName(Reindeer.PANEL_LIGHT);

Thxx very much !! its work!! thanks :smiley: :smiley: