You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The tiles should not repeat (often one will add a screenshot or logo, so repeat makes no sense).
Also I thing the background-size: cover; is a bad idea, because it distorts the content.
My proposal:
background-size: auto 100%;
background-repeat: no-repeat;
But maybe it would be better to add the tile as an image tag, because this way one could make the images fill the space perfectly, but never scale to more than 100%. What do you think? Could that work for you?
The text was updated successfully, but these errors were encountered:
Could you please show me a case where a tile repeats ?
If I understand the CSS spec correctly, "background-size: cover;" doesn't distort the content, it actually means "100% for one dimension, >= 100% for the other, preserve aspect ratio", which implies that the image cannot be repeated.
Regarding the use of an image tag to avoid upscaling, I'll try that when I'll find some time to spend on this package.
Since I changed my css I can not show you. What happened was that it repeated not on the x but the y axis, so that there was a 1 px red line at the bottom. (In was using an image that has a red logo at the top but is black at the bottom.)
The tiles should not repeat (often one will add a screenshot or logo, so repeat makes no sense).
Also I thing the background-size: cover; is a bad idea, because it distorts the content.
My proposal:
But maybe it would be better to add the tile as an image tag, because this way one could make the images fill the space perfectly, but never scale to more than 100%. What do you think? Could that work for you?
The text was updated successfully, but these errors were encountered: