addCustomCss

abstract fun addCustomCss(css: String)

Adds custom CSS to the WebView.

The CSS is inserted as a <style> tag in the top-level HTML that contains the ReaderView, Renderers and ReaderViewAnnotationLayers.

The CSS added with this method will NOT affect the ReaderPublication styling. For adding custom CSS to EpubReaderPublications, see EpubReaderPublication.options.customPublicationCss

This method can be used for styling ReaderViewAnnotations. See ReaderViewAnnotationLayer for more information.