-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Placeholder: Add blurred background to work in nested cases. #43379
Conversation
Size Change: +54 B (0%) Total Size: 1.24 MB
ℹ️ View Unchanged
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This help a lot with clarity on more tricky situations. We can continue to refine the exact presentation, but let's try it.
min-width: 100px; | ||
|
||
// Blur the background so layered dashed placeholders are still visually separate. | ||
// We also provide a semitransparent background so as to allow duotones to sheen through. | ||
backdrop-filter: blur(100px); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What?
Fixes #43364.
This PR adds a background to the new dashed placeholder style. Specifically a very semitransparent background, but with a lot of blur. That ensures the dashed style will work better in nested contexts, and with complex backgrounds underneath.
Here are a range of screenshots showing a Cover image with a background photo, and a dashed style image placeholder inside, as well as placeholders for Featured Image, Site Logo, and more:
With faux duotone applied (this needs a separate PR to actually be user-settable)
Testing Instructions
Here's some test content:
Be sure all placeholders look good.