Hello i try to do that : https://www.designdealer.fr
- an image 100% full screen (cover)
- a logo svg always center on page
I can’t do it ?
Hello i try to do that : https://www.designdealer.fr
I can’t do it ?
To achieve the same effect with Sparkle…
Background image:
SVG logo
Hope this is of help.
Hi @DesignDealer, the specific terms you are using suggest you are thinking of specific CSS features.
Sparkle doesn’t currently have the ability to match a section of the layout to the full height of the browser (100vh
in css), though if you set a background image on a box to fill mode it corresponds to css cover
.
Given that the full height is not available, there is no ambiguity to centering an SVG on a box, you do it visually.
But due to the first point, this does not correspond to the effect you are trying to achieve.
Ah Ok. So what if I have to reproduce this principle for a site under sparkle?
As mentioned Sparkle doesn’t currently have that. It can’t be done.