Flipping an Icon vertically

Is it possible to flip icon vertically?

many thanks

Yes, with CSS

In Java

var icon = VaadinIcon.FILE_O.create();

Add to styles.css

.flip {
transform: rotate(90deg);

that’s rotation though – if you specifically want to flip the image, i.e. “mirror” it vertically, you’d do this:

transform: scale(1, -1);

Good point @useful-whale , I understood the question differently.

thank you