![Creating Realistic Reflections With CSS](https://www.cdn5.niftycent.com/d/k/8/R/Q/8/m/creating-realistic-reflections-with-css.webp)
In design, reflections are stylized mirror images of objects. Even though they are not as popular as shadows, they have their moments — just think about the first time you explored the different font formats in MS Word or PowerPoint: …
Creating Realistic Reflections With CSS originally published on CSS-Tricks. You should get the newsletter.
https://css-tricks.com/creating-realistic-reflections-with-css/
![Creating the DigitalOcean Logo in 3D With CSS](https://www.cdn5.niftycent.com/d/k/M/a/K/d/W/creating-the-digitalocean-logo-in-3d-with-css.webp)
Howdy y’all! Unless you’ve been living under a rock (and maybe even then), you’ve undoubtedly heard the news that CSS-Tricks, was acquired by DigitalOcean. Congratulations to everyone! 🥳 As a little hurrah to commemorate the occasion, I wanted to …
Creating the DigitalOcean Logo in 3D With CSS originally published on CSS-Tricks. You should get the newsletter.
https://css-tricks.com/creating-the-digitalocean-logo-in-3d-with-css/
![Setting Up CloudFront to Host Your Web App](https://www.cdn5.niftycent.com/d/D/y/N/q/A/m/setting-up-cloudfront-to-host-your-web-app.webp)
In my last article, we went over how to set up a web app that serves chunks and bundles of CSS and JavaScript from CloudFront. We integrated it into Vite so that when the app runs in a browser, …
Setting Up CloudFront to Host Your Web App originally published on CSS-Tricks. You should get the newsletter.
https://css-tricks.com/setting-up-cloudfront-to-host-your-web-app/
![Cool Hover Effects That Use Background Properties](https://www.cdn5.niftycent.com/d/k/A/A/Y/d/2/cool-hover-effects-that-use-background-properties.webp)
A while ago, Geoff wrote an article about a cool hover effect. The effect relies on a combination of CSS pseudo-elements, transforms, and transitions. A lot of comments have shown that the same effect can be done using background …
Cool Hover Effects That Use Background Properties originally published on CSS-Tricks. You should get the newsletter.
https://css-tricks.com/cool-hover-effects-using-background-properties/
![Avoiding the Pitfalls of Nested Components in a Design System](https://www.cdn5.niftycent.com/d/k/X/o/P/W/E/avoiding-the-pitfalls-of-nested-components-in-a-design-system.webp)
When creating a component-based, front-end infrastructure, one of the biggest pain points I’ve personally encountered is making components that are both reusable and responsive when there are nested components within components. Take the following “call to action” (…
Avoiding the Pitfalls of Nested Components in a Design System originally published on CSS-Tricks. You should get the newsletter.
https://css-tricks.com/nested-components-in-a-design-system/
![Writing Strong Front-end Test Element Locators](https://www.cdn5.niftycent.com/d/k/X/o/K/v/V/writing-strong-front-end-test-element-locators.webp)
Automated front-end tests are awesome. We can write a test with code to visit a page — or load up just a single component — and have that test code click on things or type text like a user would, …
Writing Strong Front-end Test Element Locators originally published on CSS-Tricks. You should get the newsletter.
![Adding Tailwind CSS to New and Existing WordPress Themes](https://www.cdn5.niftycent.com/d/1/E/8/z/A/P/adding-tailwind-css-to-new-and-existing-wordpress-themes.webp)
In the 15 or so years since I started making WordPress websites, nothing has had more of an impact on my productivity — and my ability to enjoy front-end development — than adding Tailwind CSS to my workflow (and it …
Adding Tailwind CSS to New and Existing WordPress Themes originally published on CSS-Tricks. You should get the newsletter.
https://css-tricks.com/adding-tailwind-css-to-wordpress-themes/
![Making Mermaid Diagrams in Markdown](https://www.cdn5.niftycent.com/d/e/L/b/a/W/d/making-mermaid-diagrams-in-markdown.webp)
Mermaid diagrams and flowcharts have been gaining traction, especially with GitHub’s announcement that they are natively supported in Markdown. Let’s take a look at what they are, how to use them, and just as importantly: why. Just like you …
Making Mermaid Diagrams in Markdown originally published on CSS-Tricks. You should get the newsletter.
![Add a CSS Lens Flare to Photos for a Bright Touch](https://www.cdn5.niftycent.com/d/D/3/l/P/4/o/add-a-css-lens-flare-to-photos-for-a-bright-touch.webp)
I’m a big fan of movies by J.J. Abrams. I enjoy their tight plots, quippy dialog, and of course: anamorphic lens flares. Filmmakers like Abrams use lens flare to add a dash of ‘homemade’ realism to their movies, …
Add a CSS Lens Flare to Photos for a Bright Touch originally published on CSS-Tricks. You should get the newsletter.
https://css-tricks.com/add-a-css-lens-flare-to-photos-for-a-bright-touch/
![Adding CDN Caching to a Vite Build](https://www.cdn5.niftycent.com/d/k/K/R/X/Y/M/adding-cdn-caching-to-a-vite-build.webp)
Content delivery networks, or CDNs, allow you to improve the delivery of your website’s static resources, most notably, with CDN caching. They do this by serving your content from edge locations, which are located all over the world. When a …
Adding CDN Caching to a Vite Build originally published on CSS-Tricks. You should get the newsletter.