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
{{ message }}
This repository has been archived by the owner on Jan 17, 2023. It is now read-only.
During April Fools’ Day, I came across an upside-down page, which I tried to capture with Screenshots. It had the transform: rotate(180deg) CSS property on <body>.
The Screenshots UI was upside-down too, which, I believe, shouldn’t have happened.
A minimal example of such a page:
<!DOCTYPE html><html><head><metacharset="UTF-8" /><title>Upside-down Screenshots UI</title><style>
body, html, p {
margin-top: 0;
margin-bottom: 0;
}
body {
display: flex;
align-items: center;
justify-content: center;
box-sizing: border-box; /* Include default paddings in height calc */
height: 100vh; /* Otherwise the Screenshots UI is not visible */
transform: rotate(180deg);
}
</style></head><body><p>As you can see, text is upside-down.</p></body></html>
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
During April Fools’ Day, I came across an upside-down page, which I tried to capture with Screenshots. It had the
transform: rotate(180deg)
CSS property on<body>
.The Screenshots UI was upside-down too, which, I believe, shouldn’t have happened.
A minimal example of such a page:
The text was updated successfully, but these errors were encountered: