#csstips #objectfit #webdevelopment #frontenddesign #csstricks #devlife #webdesign #responsivecss #buildinpublic #mysticdev
#csstips #objectfit #webdevelopment #frontenddesign #csstricks #devlife #webdesign #responsivecss #buildinpublic #mysticdev
Values: cover, contain, fill, none, scale-down
💡 Tip:
css
Copy
Edit
img {
width: 100%;
height: 300px;
object-fit: cover;
}
No more distorted images!
#CSS #WebDev #FrontendTips #ObjectFit #ResponsiveDesign #HTML #WebDevTips #ImageStyling #UIDesign
Values: cover, contain, fill, none, scale-down
💡 Tip:
css
Copy
Edit
img {
width: 100%;
height: 300px;
object-fit: cover;
}
No more distorted images!
#CSS #WebDev #FrontendTips #ObjectFit #ResponsiveDesign #HTML #WebDevTips #ImageStyling #UIDesign
github.com/bluesky-soci...
github.com/bluesky-soci...
• cover – fill & crop
• contain – fit, no crop
• fill – stretch (may distort)
• none – no scale
• scale-down – smallest fit
💡 Tip:
img {
width: 100%;
height: 300px;
object-fit: cover;
}
No more ugly images! 🚀
.
#CSS #WebDev #Frontend #objectfit #CodeTips #codelife
Many third party apps including @deck.blue were not sending image dimension data along with uploads. But there was no indication it was bad because Bluesky didn't crop the image. But as of v1.95 they changed the frontend to crop into a square.
Many third party apps including @deck.blue were not sending image dimension data along with uploads. But there was no indication it was bad because Bluesky didn't crop the image. But as of v1.95 they changed the frontend to crop into a square.
This is why
This is why
• A complete ground-up rewrite built on Yoga!
• Opt-in layout for any PixiJS object
• Web-style features like objectFit, objectPosition, and overflow
Check out the full details in our blog post:
pixijs.com/blog/layout-v3
• A complete ground-up rewrite built on Yoga!
• Opt-in layout for any PixiJS object
• Web-style features like objectFit, objectPosition, and overflow
Check out the full details in our blog post:
pixijs.com/blog/layout-v3
I hope they’ll fix this problem soon
I hope they’ll fix this problem soon
It provided real-time suggestions without waiting for a pull request, identifying issues like:
→ Typo in CSS: Suggested 'cover' instead of 'coverd' for objectFit.
→ Invalid Font: Recommended 'sans-serif' instead of 'sans'.
It provided real-time suggestions without waiting for a pull request, identifying issues like:
→ Typo in CSS: Suggested 'cover' instead of 'coverd' for objectFit.
→ Invalid Font: Recommended 'sans-serif' instead of 'sans'.
codepen.io/SaschaFromMa...
#frontenddevelopment #parallaxeffect #objectfit
codepen.io/SaschaFromMa...
#frontenddevelopment #parallaxeffect #objectfit
getting strong "testing in prod" vibes from this though
getting strong "testing in prod" vibes from this though