i have this css:
this makes the image grow only on the right side.
i am unable to make it centered.
all i want is a half-bleed layout (see the first image here for half-bleed → https://www.joshwcomeau.com/css/full-bleed/)
full-bleed layout means 100% width of pdf. half-bleed (i made that up) means having a little margin on either side.
all i want is the image to be centered & overflow little to right & left.
is this possible? i checked the forum. nothing relevant showed up.
@page {
size: 6.6in 8.5in;
margin: 70pt 60pt;
}
img {
width: 125%;
}
this makes the image grow only on the right side.
i am unable to make it centered.
all i want is a half-bleed layout (see the first image here for half-bleed → https://www.joshwcomeau.com/css/full-bleed/)
full-bleed layout means 100% width of pdf. half-bleed (i made that up) means having a little margin on either side.
all i want is the image to be centered & overflow little to right & left.
is this possible? i checked the forum. nothing relevant showed up.