Look at the end of workaround_ade_quirks in epub.output or the RemoveFakeMargins transform in page_margin.py
These are all examples of using the falttened CSS. Basically, what CSS flatenning does is put all the CSS into class selector based rules. So all you have to do is look at the class attribute of the element and then look up the CSS rule whoose selector is .classname
|