grid or place-items bug: preview shows perfect match, only 66% after submition #305
Naahuel
started this conversation in
Bugs reports
Replies: 1 comment 1 reply
-
|
Correct, the first solution is also working but it's displayed very different than what CSSBattle shows you. Your triangle is placed to the very bottom of the window (screenshot below). To make your initial solution work, setting Considering you're playing CSSBattle via Firefox, and CSSBattle uses Chromium to render the solutions, I suggest using this previewer which shows you exactly how the server 'sees' your solutions. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Uh oh!
There was an error while loading. Please reload this page.
-
Maybe this has been asked, I did search and didn't find anything.
I'm a Firefox in Ubuntu user.
For this game: https://cssbattle.dev/play/34
I submitted this code:
But it gives me 66.2%? Even though it matches perfectly.
I thought it didn't recognize the filter as a valid rule but if I comment it out I get a lower score! 184.7 (295 chars)
I noticed though that the
display:grid+place-items:centerdoesn't always work! In fact it didn't now, because it didn't center the item vertically! So I centered differently (with fewer characters even haha) and now I get a 100%:So my guess is that the preview is displaying something different than what the interpreter in the back-end gets.
Something with place-items?
Beta Was this translation helpful? Give feedback.
All reactions