Skip to main content
Feedback

Images CSS

warning

The content on this page is outdated and will not receive updates. For the most up-to-date functionality, refer to Setting up and managing flows.

This topic provides examples of the main CSS classes/selectors you can use to customize images in a flow.

Default player CSS

You can use the following classes/selectors to apply additional CSS styling to all images in a flow running the default player.

Class/SelectorDescription
.flow imgThe basic parent class applied to every image within a flow.
For example, to add a thin black border to every image in a flow:
.flow img {border: 1px solid black;}

Default legacy player CSS

You can use the following classes/selectors to apply additional CSS styling to all images in a flow running the default legacy player.

Class/SelectorDescription
.mw-bs imgThe basic parent class applied to every image in a flow.
For example, to add a black border to every image in a flow:
.mw-bs img {border: 1px solid black;}
.mw-bs .img-responsiveThe Bootstrap class applied directly to the <img> element for images so that they are responsive-friendly and scale correctly to the parent element.
For example, to add a black border to all images within flow presentation components.
.mw-bs img-responsive {border: 1px solid black;}

Example: Adding a drop shadow to all images

Image drop shadow

 .mw-bs .img-responsive {
box-shadow: 5px 5px 2px #888888;
border-radius: 2px;
border-width: 1px;
border-style: outset;
}
On this Page