![Social Image Generator + Jetpack](https://www.cdn5.niftycent.com/d/k/l/r/Y/Q/7/social-image-generator-jetpack.webp)
I feel like my quest to make sure this site had pretty sweet (and automatically-generated) social media images (e.g. Open Graph) came to a close once I found Social Image Generator. The trajectory there was that I ended up …
The post Social Image Generator + Jetpack appeared first on CSS-Tricks. You can support CSS-Tricks by being an MVP Supporter.
![“Just in Time” CSS](https://www.cdn5.niftycent.com/d/D/2/6/q/q/K/just-in-time-css.webp)
I believe acss.io is the first usage of “Atomic CSS” where the point of it is to be a compiler. You write CSS like this:
![EyeDropper API Dropped](https://www.cdn5.niftycent.com/d/e/5/0/N/v/4/eyedropper-api-dropped.webp)
I had no idea this was coming but it’s pretty neat! Chrome has shipped the EyeDropper API in v95 (Canary, as I write).
🎨 Loving the new EyeDropper
Web API:
“`jsawait new EyeDropper().open();// Returns the picked color, e.g.,
…
The post EyeDropper API Dropped appeared first on CSS-Tricks. You can support CSS-Tricks by being an MVP Supporter.
![Fun Times Styling Checkbox States](https://www.cdn5.niftycent.com/d/1/g/0/J/O/G/fun-times-styling-checkbox-states.webp)
We might leave a text input unstyled. We might leave a link unstyled. Even a button. But checkboxes… we don’t leave them alone. That’s why styling checkboxes never gets old. Although designing checkboxes is not that complicated, we also don’t …
The post Fun Times Styling Checkbox States appeared first on CSS-Tricks. You can support CSS-Tricks by being an MVP Supporter.
![Improve Largest Contentful Paint (LCP) on Your Website With Ease](https://www.cdn5.niftycent.com/d/D/3/x/A/a/V/improve-largest-contentful-paint-lcp-on-your-website-with-ease.webp)
(This is a sponsored post.) Optimizing the user experience you offer on your website is essential for the success of any online business. Google does use different user experience-related metrics to rank web pages for SEO and has continued …
The post Improve Largest Contentful Paint (LCP) on Your Website With Ease appeared first on CSS-Tricks. You can support CSS-Tricks by being an MVP Supporter.
https://css-tricks.com/improve-largest-contentful-paint-lcp-on-your-website-with-ease/
![Frameworks Helping Image Usage](https://www.cdn5.niftycent.com/d/D/P/E/m/n/4/frameworks-helping-image-usage.webp)
I recently blogged about how images are hard and it ended up being a big ol’ checklist of things that you could/should think about and implement when placing images on websites. I think it’s encouraging to see frameworks — these …
The post Frameworks Helping Image Usage appeared first on CSS-Tricks. You can support CSS-Tricks by being an MVP Supporter.
![Mars Theme: A Deep Look at Frontity’s Headless WordPress Theme](https://www.cdn5.niftycent.com/d/D/v/j/J/8/O/mars-theme-a-deep-look-at-frontity-s-headless-wordpress-theme.webp)
Frontity is a framework for creating de-coupled (or "headless") WordPress sites. In this article, we dive into the process of spinning up such a site, with a detailed overview of the building blocks provided by Frontity and its flagship theme, Mars.
The post Mars Theme: A Deep Look at Frontity’s Headless WordPress Theme appeared first on CSS-Tricks. You can support CSS-Tricks by being an MVP Supporter.
https://css-tricks.com/mars-theme-a-deep-look-at-frontitys-headless-wordpress-theme/
![You don’t need external assets in an HTML file](https://www.cdn5.niftycent.com/d/1/E/x/J/2/M/you-don-t-need-external-assets-in-an-html-file.webp)
A fun exercise from Terence Eden. You can send an HTML file over the wire including anything a website might need without requesting any other files. CSS and JavaScript are easy, because there are https://shkspr.mobi/blog/2021/08/you-dont-need-external-assets-in-an-html-file/
![Don’t attach tooltips to document.body](https://www.cdn5.niftycent.com/d/1/Y/E/3/q/n/don-t-attach-tooltips-to-document-body.webp)
Here’s Atif Afzal on using a that is permanently on the page where tooltips are added/removed and how they perform vastly better than plopping those same tooltips right into the . It’s not really discussed, but the reason …
The post Don’t attach tooltips to document.body appeared first on CSS-Tricks. You can support CSS-Tricks by being an MVP Supporter.
https://css-tricks.com/dont-attach-tooltips-to-document-body/
![The Story Behind TryShape, a Showcase for the CSS clip-path property](https://www.cdn5.niftycent.com/d/k/K/G/J/Q/z/the-story-behind-tryshape-a-showcase-for-the-css-clip-path-property.webp)
I love shapes, especially colorful ones! Shapes on websites are in the same category of helpfulness as background colors, images, banners, section separators, artwork, and many more: they can help us understand context and inform our actions through affordances. A …
The post The Story Behind TryShape, a Showcase for the CSS clip-path property appeared first on CSS-Tricks. You can support CSS-Tricks by being an MVP Supporter.
https://css-tricks.com/the-story-behind-tryshape-a-showcase-for