Quote:
Originally Posted by Falkor
@supports seems to work in ADE 4.5 when using epub3.
|
Do the try and write:
Code:
@supports(display: flex) {
p {
background: yellow;
}
}
ADE 4.x supports "display: flex" so if @supports is honored, then paragraphs should have a yellow background color. Once you check the property is supported, erase the code to do the try.
Quote:
'Calc()' seems to work as well.
|
Do the try for example by setting a width of an element of "width: calc(100% - 10em);" and watch if the element's width was reduced.
Quote:
The problem here is 'float'. It makes all the difference. Removing it will make your file work fine in ADE and Books.
Maybe it takes some additional settings to make 'float' work as intended?
|
If you don't set "float" then you will have fragmentation in your epub. But you didn't say if you tested it or not in Thorium and Calibre. You said that my sample didn't work there and in the screenshoot I posted you can see that the epub looks fine those ereaders. My code is not for ADE 4.x; as I said in my previous post, ADE needs additional statements in order the things work there.
EDIT: "calc()" works under ADE 4.5; @supports it doesn't.